From 25166edb13b6ea4d2f46176e3852b8f932a13013 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 18 Oct 2024 15:41:40 -0400 Subject: minesweeper --- Lamento/env | 5 +++++ Lamento/run | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Lamento') 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' -- cgit v1.2.3-freya