summaryrefslogtreecommitdiff
path: root/Lamento
diff options
context:
space:
mode:
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'