Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OkagawaTheo/b51866c2d21dda15f8ad2fc4067befda to your computer and use it in GitHub Desktop.
Save OkagawaTheo/b51866c2d21dda15f8ad2fc4067befda to your computer and use it in GitHub Desktop.
Run CircuitMaker on OSX thanks to wine and winetricks
# 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