Introduced files to block steamos actions as we don't need updating

This commit is contained in:
2025-07-10 12:01:59 -04:00
parent 6259ab886e
commit 0dd57bb2b7
13 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
# gamescope session
sudo chmod 755 /usr/bin/gamescope-session
# jupiter biosupdate
sudo chmod 755 /usr/bin/jupiter-biosupdate
sudo chmod 755 /usr/bin/steamos-polkit-helpers/jupiter-biosupdate
# steamos select branch
sudo chmod 755 /usr/bin/steamos-select-branch
# steamos update
sudo chmod 755 /usr/bin/steamos-update
sudo chmod 755 /usr/bin/steamos-polkit-helpers/steamos-update
# steamos set timezone
sudo chmod 755 /usr/bin/steamos-polkit-helpers/steamos-set-timezone

View 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

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# As this is running on a standard Linux install
# state that no updates configured for this bios
# and exit
echo "No updates configured for this bios"
exit 0;

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Exit immediately on error and throw an error
# when using undefined variables
set -eu
# Run the jupiter-biosupdate script
exec /usr/bin/jupiter-biosupdate "$0"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Do nothing, assuming that the timezone will be set
# when installing Linux or configured separately
# from the terminal or desktop environment
exit 0;

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Exit immediately on error and throw an error
# when using undefined variables
set -eu
# Run the steamos-update script
exec /usr/bin/steamos-update "$0"

View File

@@ -0,0 +1,5 @@
#!/bin/bash
# As this is running on a standard Linux install
# state this is not applicable
echo "Not applicable for this OS"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Shutting down Steam will return to the terminal,
# desktop environment or the login screen (display manager)
# depending on where Steam was launched.
steam -shutdown

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Steam client updates are managed separately,
# so in this case return exit code 7 stating
# no system updates.
exit 7;

View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Name=Steam (Gamescope)
Comment=Run Steam directly in Gamescope
Exec=gamescope-session
Type=Application
DesktopNames=gamescope