summaryrefslogtreecommitdiff
path: root/Lamento
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-10-18 15:41:40 -0400
committerFreya Murphy <freya@freyacat.org>2024-10-18 15:41:40 -0400
commit25166edb13b6ea4d2f46176e3852b8f932a13013 (patch)
tree39e948fa2fd0e2c75676f18d92204de4e8209cb5 /Lamento
parentLEGO Island (diff)
downloadwinescripts-main.tar.gz
winescripts-main.tar.bz2
winescripts-main.zip
minesweeperHEADmain
Diffstat (limited to 'Lamento')
-rwxr-xr-xLamento/env5
-rwxr-xr-xLamento/run2
2 files changed, 6 insertions, 1 deletions
diff --git a/Lamento/env b/Lamento/env
index c7f18da..d22c29f 100755
--- a/Lamento/env
+++ b/Lamento/env
@@ -6,3 +6,8 @@ export LC_ALL=ja_JP.UTF-8
export WINEPREFIX="$(pwd)/wine"
export WINEARCH=win32
export WINEESYNC=1
+
+export GAMESCOPE=gamescope
+if command -v "gamescope-legacy"; then
+ export GAMESCOPE="gamescope-legacy"
+fi
diff --git a/Lamento/run b/Lamento/run
index e3c0d9a..a661937 100755
--- a/Lamento/run
+++ b/Lamento/run
@@ -5,5 +5,5 @@ source ./env
#Xwayland :1 -fullscreen -geometry 800x600 &
#cd data && DISPLAY=:1 wine 'Lamento -BEYOND THE VOID-.exe'
-cd data && gamescope-legacy -W 800 -H 600 -- \
+cd data && "$GAMESCOPE" -W 800 -H 600 -- \
wine 'Lamento -BEYOND THE VOID-.exe'