Created
August 28, 2016 15:19
-
-
Save reidrac/77104886367e6bc60fd822faddc67d77 to your computer and use it in GitHub Desktop.
CPCE + WINE wrapper for Linux
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 | |
CPCPATH=/home/user/apps/cpce | |
REALPATH=`realpath "$1"` | |
FILE=`winepath -w "$REALPATH"` | |
echo auto-booting $FILE... | |
cd $CPCPATH && exec wine CPCE95.EXE /a+ "$FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment