-
-
Save zaxebo1/10afeb084c2c7a49712247ccd8f130f2 to your computer and use it in GitHub Desktop.
Shell script to open SigmaPlot 12 using wine by itself or with a file passed in as an argument. See: http://blog.jolros.com/post/71709752383/running-sigmaplot-as-a-mac-os-x-application-using-wine
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
#!/usr/bin/env bash | |
export WINEDEBUG=-all | |
WINE=/usr/local/bin/wine | |
SPW=$HOME/.wine/drive_c/Program\ Files/SigmaPlot/SPW12/Spw.exe | |
if [ -z "$1" ]; then | |
"$WINE" "$SPW" >& /dev/null & | |
else | |
"$WINE" "$SPW" "Z:$1" >& /dev/null & | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment