Introduced files to block steamos actions as we don't need updating
This commit is contained in:
19
files/system/usr/bin/gamescope-session
Normal file
19
files/system/usr/bin/gamescope-session
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Assume that MangoHud is not installed
|
||||
MANGOAPP_FLAG=""
|
||||
|
||||
# Check that mangoapp is available. Set the flag if it exists,
|
||||
# otherwise inform to check that MangoHud is installed and
|
||||
# proceed without the flag.
|
||||
if command -v mangoapp &> /dev/null;
|
||||
then
|
||||
MANGOAPP_FLAG="--mangoapp"
|
||||
else
|
||||
printf "[%s] [Info] 'mangoapp' is not available on your system. Check to see that MangoHud is installed.\n" $0
|
||||
printf "[%s] [Info] Continuing without the '--mangoapp' flag.\n" $0
|
||||
fi
|
||||
|
||||
gamescope \
|
||||
$MANGOAPP_FLAG \
|
||||
-e -- steam -steamdeck -steamos3
|
||||
Reference in New Issue
Block a user