-
-
Save OkagawaTheo/b51866c2d21dda15f8ad2fc4067befda to your computer and use it in GitHub Desktop.
Run CircuitMaker on OSX thanks to wine and winetricks
This file contains 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
# If Homebrew is not installed uncomment the next line | |
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install Wine and WineTricks | |
brew install wine && brew install winetricks | |
# Download CircuitMaker | |
curl https://s3.amazonaws.com/altium-install/CircuitMaker/CircuitMakerSetup.exe -o ~/Downloads/CircuitMakerSetup.exe | |
# Configure Wine | |
WINEARCH=win32 WINEPREFIX=~/.wine-circuitmaker winetricks -q gdiplus corefonts riched20 mdac28 msxml6 dotnet40 | |
curl http://web.archive.org/web/20160129053851/http://download.microsoft.com/download/E/6/A/E6A04295-D2A8-40D0-A0C5-241BFECD095E/W2KSP4_EN.EXE -o ~/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE | |
WINEARCH=win32 WINEPREFIX=~/.wine-circuitmaker winetricks -q gdiplus corefonts riched20 mdac28 msxml6 dotnet40 | |
# Install CircuitMaker in wine | |
WINEPREFIX=~/.wine-circuitmaker wine ~/Downloads/CircuitMakerSetup.exe | |
# Add a shortcut in your profile to start it | |
cat >> ~/.profile << EOF | |
circuitmaker(){ | |
WINEPREFIX=~/.wine-circuitmaker wine ~/.wine-circuitmaker/drive_c/Program\ Files/Altium/CM/DXP.EXE & | |
} | |
EOF | |
source ~/.profile | |
circuitmaker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment