From bf2d8505cf437e017ab0a739646481bc1bb47691 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Tue, 4 Aug 2026 21:08:52 +0200 Subject: [PATCH] docs(decky): the gamepad-UI shortcut comment still named PF_HOST PF_HOST is gone; the browse branch is keyed on PF_BROWSE alone and runs the SESSION binary, which is the one path this rework deliberately did not repoint. Comment only. --- clients/decky/src/steam.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/clients/decky/src/steam.ts b/clients/decky/src/steam.ts index 84fe5c77..6cd535b8 100644 --- a/clients/decky/src/steam.ts +++ b/clients/decky/src/steam.ts @@ -257,10 +257,11 @@ export async function ensureGamepadUiShortcut(): Promise { } const startDir = info.runner.replace(/\/[^/]*$/, ""); void ensureControllerConfig(); - // Bare browse: PF_BROWSE with no PF_HOST → the wrapper runs `--browse --fullscreen` (console - // home). %command% expands to the shortcut exe (/bin/sh); the wrapper rides behind as an arg. - // PF_CLIENT_BIN only when the backend resolved a NATIVE client — else the wrapper's flatpak - // default stands and this shortcut is exactly what it always was. + // PF_BROWSE → the wrapper runs the SESSION's `--browse --fullscreen` (console home), which is + // the one branch this rework deliberately left alone. %command% expands to the shortcut exe + // (/bin/sh); the wrapper rides behind as an arg. PF_CLIENT_BIN only when the backend resolved + // a NATIVE client — else the wrapper's flatpak default stands and this shortcut is exactly + // what it always was. const clientBin = info.client_bin ? `PF_CLIENT_BIN=${info.client_bin} ` : ""; const launchOpts = `${clientBin}PF_BROWSE=1 %command% "${info.runner}"`;