Skip to content

Instantly share code, notes, and snippets.

@alex4o
Created January 23, 2018 10:04
Show Gist options
  • Save alex4o/c033587783ce383059cf03bc3ac1d489 to your computer and use it in GitHub Desktop.
Save alex4o/c033587783ce383059cf03bc3ac1d489 to your computer and use it in GitHub Desktop.
#!/bin/bash
unset WINEPREFIX
if [ ! -d "$HOME"/.ltspice ] ; then
mkdir -p "$HOME"/.ltspice
touch "$HOME"/.ltspice/LTspiceXVII.ini
fi
wine /usr/share/ltspice/XVIIx64.exe -ini "$HOME"/.ltspice/LTspiceXVII.ini "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment