diff --git a/app/src/main/java/com/steamdeck/launcher/session/SessionPrefs.kt b/app/src/main/java/com/steamdeck/launcher/session/SessionPrefs.kt index 6fa8ce37ee..4632af37fc 100644 --- a/app/src/main/java/com/steamdeck/launcher/session/SessionPrefs.kt +++ b/app/src/main/java/com/steamdeck/launcher/session/SessionPrefs.kt @@ -221,7 +221,13 @@ object SessionPrefs { } /** The Steam client branch forced on the command line: "publicbeta" (every session so far) or "steamdeck_publicbeta" (Armada's). */ - fun steamChannel(context: Context): String = prefs(context).getString("steamChannel", "publicbeta") ?: "publicbeta" + fun steamChannel(context: Context): String = + prefs(context).getString("steamChannel", null) + // Deck mode on the publicbeta channel reinstalls the same client at every start (the + // client reports "installed version 0" against that manifest and exits 42 to apply it, + // losing the launch URL each time); on steamdeck_publicbeta the second launch comes up + // clean. Seen on device 2026-09-23. So Deck mode takes the Deck channel unless chosen. + ?: if (steamDeckMode(context)) "steamdeck_publicbeta" else "publicbeta" fun setSteamChannel(context: Context, id: String) { prefs(context).edit().putString("steamChannel", id).apply() diff --git a/app/src/main/java/com/steamdeck/launcher/ui/ModeSettingsDialog.kt b/app/src/main/java/com/steamdeck/launcher/ui/ModeSettingsDialog.kt index 3001005911..b70aa92c4c 100644 --- a/app/src/main/java/com/steamdeck/launcher/ui/ModeSettingsDialog.kt +++ b/app/src/main/java/com/steamdeck/launcher/ui/ModeSettingsDialog.kt @@ -131,7 +131,7 @@ fun ModeSettingsPage(s: ModeSettings, a: ModeSettingsActions) { ChoiceRow( host, "channel", "Client branch", "The Steam client build the session forces. Applies at the next session start; the client may update itself once.", listOf("publicbeta" to "Public beta", "steamdeck_publicbeta" to "Steam Deck public beta"), s.steamChannel, - note = "Public beta is what every session has run on. Steam Deck public beta is the channel Armada bootstraps its ARM64 client from.", + note = "Public beta is what every session ran on before. Steam Deck public beta is the channel Deck mode needs (on public beta it reinstalls the same client at every start) and the one Armada bootstraps from; Deck mode picks it unless you choose here.", onPick = a.onSteamChannel, ) }