summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplay.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.sh b/play.sh
index 5a89bac..f1d86ba 100755
--- a/play.sh
+++ b/play.sh
@@ -108,6 +108,10 @@ play_setenv () {
}
play_run () {
+ # cd into dir
+ local dir=$(exc winepath -u "$GPATH")
+ exc cd $(dirname $dir)
+
# start game
exc wine start $GPATH "$ARGS"