Skip to content

Instantly share code, notes, and snippets.

@reidrac
Created August 28, 2016 15:19
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 reidrac/77104886367e6bc60fd822faddc67d77 to your computer and use it in GitHub Desktop.
Save reidrac/77104886367e6bc60fd822faddc67d77 to your computer and use it in GitHub Desktop.
CPCE + WINE wrapper for Linux
#!/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