Gamemode support added. Will automatically use gamemode if installed, so be sure it is properly configured /etc/gamemode.ini.

This commit is contained in:
Storm Dragon committed 2026-08-23 21:18:07 -04:00
1 parent 4b312099b4
commit eee7b7e7c8
5 files changed
+36 -10

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
run_with_optional_gamemode() {
if command -v gamemoderun &> /dev/null; then
gamemoderun "$@"
else
"$@"
fi
}
+4
View File
@@ -0,0 +1,4 @@
# Replacement map for scripts/check-ipfs-links.sh --fix.
# Format: MATCH<TAB>REPLACEMENT
# MATCH can be the ipfs array key, such as BG 15 Puzzle, or the old CID.
# REPLACEMENT can be a bare CID or a full /ipfs/ URL. Bare CIDs keep the existing query string.
1 # Replacement map for scripts/check-ipfs-links.sh --fix.
2 # Format: MATCH<TAB>REPLACEMENT
3 # MATCH can be the ipfs array key, such as BG 15 Puzzle, or the old CID.
4 # REPLACEMENT can be a bare CID or a full /ipfs/ URL. Bare CIDs keep the existing query string.
+1 -1
View File
@@ -97,7 +97,7 @@ run_umu_game() {
return 1
fi
pushd "${exePath%/*}" > /dev/null || return 1
umu-run "$exePath"
run_with_optional_gamemode umu-run "$exePath"
popd > /dev/null || return 1
}