fix(web-ui): don't open ui automatically on app start (#5329)

This commit is contained in:
Andreas Opferkuch
2026-06-25 17:45:40 +02:00
committed by GitHub
parent 7819fa2ec4
commit a84735d1ec
2 changed files with 1 additions and 13 deletions
+1 -10
View File
@@ -1,11 +1,2 @@
#!/bin/sh
PORT=47990
if ! curl -k https://localhost:$PORT > /dev/null 2>&1; then
(sleep 3 && xdg-open https://localhost:$PORT) &
exec sunshine "$@"
else
echo "Sunshine is already running, opening the web interface..."
xdg-open https://localhost:$PORT
fi
exec sunshine "$@"
-3
View File
@@ -1545,9 +1545,6 @@ namespace config {
service_ctrl::wait_for_ui_ready();
}
// Launch the web UI
launch_ui();
// Always return 1 to ensure Sunshine doesn't start normally
return 1;
}