Gamemode support added. Will automatically use gamemode if installed, so be sure it is properly configured /etc/gamemode.ini.
This commit is contained in:
1 parent
4b312099b4
commit
eee7b7e7c8
5 files changed
+36
-10
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
run_with_optional_gamemode() {
|
||||
if command -v gamemoderun &> /dev/null; then
|
||||
gamemoderun "$@"
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
}
|
||||
@@ -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
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user