summaryrefslogtreecommitdiff
path: root/backend/decky_loader/localplatform
diff options
context:
space:
mode:
Diffstat (limited to 'backend/decky_loader/localplatform')
-rw-r--r--backend/decky_loader/localplatform/localplatformlinux.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/decky_loader/localplatform/localplatformlinux.py b/backend/decky_loader/localplatform/localplatformlinux.py
index 68717bcf..4eb112ee 100644
--- a/backend/decky_loader/localplatform/localplatformlinux.py
+++ b/backend/decky_loader/localplatform/localplatformlinux.py
@@ -156,6 +156,10 @@ async def service_start(service_name : str) -> bool:
res = run(cmd, stdout=PIPE, stderr=STDOUT)
return res.returncode == 0
+async def restart_webhelper() -> bool:
+ res = run(["killall", "-s", "SIGTERM", "steamwebhelper"], stdout=DEVNULL, stderr=DEVNULL)
+ return res.returncode == 0
+
def get_privileged_path() -> str:
path = os.getenv("PRIVILEGED_PATH")