fix(apps): exit steam big picture mode on session end (#3808)

This commit is contained in:
Vladimir Romashchenko
2025-04-22 22:43:13 -04:00
committed by GitHub
parent e58a437e6b
commit 65b0217a90
4 changed files with 36 additions and 15 deletions

View File

@@ -23,25 +23,28 @@ process is killed.}
@tabs{ @tabs{
@tab{Linux | <!-- --> @tab{Linux | <!-- -->
\| Field \| Value \| \| Field \| Value \|
\|-------------------\|-----------------------------------------------------\| \|------------------------------\|------------------------------------------------------\|
\| Application Name \| @code{}Steam Big Picture@endcode \| \| Application Name \| @code{}Steam Big Picture@endcode \|
\| Detached Commands \| @code{}setsid steam steam://open/bigpicture@endcode \| \| Command Preporations -> Undo \| @code{}setsid steam steam://close/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \| \| Detached Commands \| @code{}setsid steam steam://open/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \|
} }
@tab{macOS | <!-- --> @tab{macOS | <!-- -->
\| Field \| Value \| \| Field \| Value \|
\|-------------------\|---------------------------------------------------\| \|------------------------------\|------------------------------------------------\|
\| Application Name \| @code{}Steam Big Picture@endcode \| \| Application Name \| @code{}Steam Big Picture@endcode \|
\| Detached Commands \| @code{}open steam steam://open/bigpicture@endcode \| \| Command Preporations -> Undo \| @code{}open steam://close/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \| \| Detached Commands \| @code{}open steam://open/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \|
} }
@tab{Windows | <!-- --> @tab{Windows | <!-- -->
\| Field \| Value \| \| Field \| Value \|
\|-------------------\|----------------------------------------\| \|------------------------------\|-------------------------------------------\|
\| Application Name \| @code{}Steam Big Picture@endcode \| \| Application Name \| @code{}Steam Big Picture@endcode \|
\| Detached Commands \| @code{}steam://open/bigpicture@endcode \| \| Command Preporations -> Undo \| @code{}steam://close/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \| \| Detached Commands \| @code{}steam://open/bigpicture@endcode \|
\| Image \| @code{}steam.png@endcode \|
} }
} }

View File

@@ -22,6 +22,12 @@
"detached": [ "detached": [
"setsid steam steam://open/bigpicture" "setsid steam steam://open/bigpicture"
], ],
"prep-cmd": [
{
"do": "",
"undo": "setsid steam steam://close/bigpicture"
}
],
"image-path": "steam.png" "image-path": "steam.png"
} }
] ]

View File

@@ -12,6 +12,12 @@
"detached": [ "detached": [
"open steam://open/bigpicture" "open steam://open/bigpicture"
], ],
"prep-cmd": [
{
"do": "",
"undo": "open steam://close/bigpicture"
}
],
"image-path": "steam.png" "image-path": "steam.png"
} }
] ]

View File

@@ -8,6 +8,12 @@
{ {
"name": "Steam Big Picture", "name": "Steam Big Picture",
"cmd": "steam://open/bigpicture", "cmd": "steam://open/bigpicture",
"prep-cmd": [
{
"do": "",
"undo": "steam://close/bigpicture"
}
],
"auto-detach": true, "auto-detach": true,
"wait-all": true, "wait-all": true,
"image-path": "steam.png" "image-path": "steam.png"