diff --git a/plugin.gd b/plugin.gd index d8f87e1..e8de1fa 100644 --- a/plugin.gd +++ b/plugin.gd @@ -19,11 +19,14 @@ const RETURN_SESSION_FILE := "/.config/chimeraos-session-return" const DEFAULT_RETURN_SESSION := "gamescope-session-steam-plus" # Sessions os-session-select can be told to return to (matching the values it -# writes to the return-session file). +# writes to the return-session file). Returning to the OpenGamepadUI session is +# deliberately excluded: this plugin only runs inside OpenGamepadUI, so a return +# file pointing at it is a stale self-reference (the last os-session-select run +# recorded whatever session autologin was set to, which is OpenGamepadUI itself +# once an exclusive OGPU session is active) and would just bounce back here. const RETURN_SESSIONS := [ "gamescope-session-steam-plus", "gamescope-session-steam", - "gamescope-session-opengamepadui", ] diff --git a/plugin.json b/plugin.json index ea084d4..6a02a72 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "plugin.id": "session-switch", "plugin.name": "Session Switch", - "plugin.version": "0.1.1", + "plugin.version": "0.1.2", "plugin.min-api-version": "1.1.0", "plugin.link": "https://forge.thergic.ar/jose/steam-button-opengamepadui-plugin", "plugin.source": "https://forge.thergic.ar/jose/steam-button-opengamepadui-plugin",