From cb751f5a80d490e8a6d02a14a0b25bbf70dd714b Mon Sep 17 00:00:00 2001 From: "Josh.5" Date: Mon, 11 Sep 2023 13:14:23 +1200 Subject: [PATCH] Update the default Steam BP launch config for Sunshine --- overlay/templates/sunshine/apps.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/overlay/templates/sunshine/apps.json b/overlay/templates/sunshine/apps.json index 230b61e..7706b14 100644 --- a/overlay/templates/sunshine/apps.json +++ b/overlay/templates/sunshine/apps.json @@ -11,11 +11,19 @@ { "name": "Steam Big Picture", "image-path": "steam.png", - "exclude-global-prep-cmd": "false", + "exclude-global-prep-cmd": "true", "detached": [ - "\/usr\/games\/steam steam:\/\/open\/bigpicture" + "\/usr\/bin\/sunshine-run \/usr\/games\/steam steam:\/\/open\/bigpicture" ], "prep-cmd": [ + { + "do": "", + "undo": "sh -c \"sleep 7 && pkill -f -2 \/usr\/bin\/sunshine\"" + }, + { + "do": "", + "undo": "\/usr\/bin\/sunshine-stop" + }, { "do": "", "undo": "\/usr\/bin\/xfce4-close-all-windows"