fix(steam): the desktop client keeps the Steam Deck channel instead of updating in a loop

This commit is contained in:
The412Banner committed 2026-12-04 13:59:20 +00:00
1 parent 01c8991049
commit d8bde22d8f
4 files changed
+73 -3

No files matched your search

@@ -1641,6 +1641,9 @@ case $mode in
export STEAM_GAMESCOPE_FANCY_SCALING_SUPPORT=1
echo "== steam: Deck mode on (-steamdeck -steamos3)"
fi
elif [ "$steam_x64" = 0 ]; then
_dd_ui+=(-steamdeck)
echo "== steam: desktop UI on the Steam Deck client channel (-steamdeck)"
fi
export STEAMOS_STEAM_SHUTDOWN_SENTINEL="$HOME/.dd-steam-shutdown"
export STEAMOS_STEAM_REBOOT_SENTINEL="$HOME/.dd-steam-reboot"
@@ -2033,10 +2036,12 @@ case $mode in
fi
while :; do
rm -f "$HOME/.dd-restart-once" "$HOME/.dd-restart-lost"
if [ -f "$steam_beta" ] && [ "$(cat "$steam_beta" 2>/dev/null)" != "$steam_channel" ]; then
echo "== steam: client branch on disk was '$(cat "$steam_beta" 2>/dev/null)', set to '$steam_channel' to match -clientbeta"
_dd_beta=$(cat "$steam_beta" 2>/dev/null || true)
if [ "$_dd_beta" != "$steam_channel" ] && [ -d "${steam_beta%/*}" ]; then
echo "== steam: client branch on disk was '${_dd_beta:-missing}', set to '$steam_channel' to match -clientbeta"
echo "$steam_channel" > "$steam_beta"
fi
unset _dd_beta
if [ -z "${_dd_counted:-}" ] && [ -z "${DD_DESKTOP:-}" ]; then
echo start >> "$steam_root/package/droiddeck-unconfirmed"
_dd_counted=1