Last active
August 29, 2015 14:08
-
-
Save eugeneai/9b6e1909252eb1fc47b8 to your computer and use it in GitHub Desktop.
Simple script to run microsoft excel-2010 in a .2010 wine bottle.
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
#!/bin/bash | |
NAME=$(basename $0) | |
WINEPREFIX=$HOME/.2010 | |
WPREF=$WINEPREFIX | |
MS_VER=14 | |
MS_LOCATION=$WPREF/drive_c/Program\ Files/Microsoft\ Office/Office$MS_VER | |
WINEPREFIX="$WPREF" wine "$MS_LOCATION/$NAME.EXE" $* > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment