Last active
July 24, 2021 18:58
-
-
Save jwmoss/f5dd584313c32a5da7bd2787f634c62a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
## install zulu via brew | |
brew install --cask zulu | |
## create new dir for dataloader and swt | |
mkdir -p ~/dataloader | |
mkdir -p ~/swt_m1 | |
## download dataloader | |
curl -L https://github.com/forcedotcom/dataloader/files/6172623/dataloader_mac_arm64.zip --output ~/dataloader/dataloader.zip | |
## download swt to ~/swtm1 .. (I can't get cURL to work for the swt.zip m1 zip) and unzip it | |
## unzip dataloader | |
cd ~/dataloader | |
unzip dataloader.zip | |
## extract jnilib files from swt.jar | |
cd ~/swt_m1 | |
jar xf swt.jar libswt-awt-cocoa-4942r22.jnilib libswt-cocoa-4942r22.jnilib libswt-pi-cocoa-4942r22.jnilib | |
## move the lib files to dataloader | |
mv lib* ~/dataloader | |
## launch dataloader | |
cd ~/dataloader | |
./install.command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment