ref:a84735d1ec213cf9f417553f1bc19772892b4c91

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

SHA: a84735d1ec213cf9f417553f1bc19772892b4c91
Author: Andreas Opferkuch <andreas.opferkuch@gmail.com>
Date: 2026-06-25 15:45
Parents: 7819fa2
2 files changed +1 -13
Type
packaging/linux/flatpak/scripts/sunshine.sh +1 −10
@@ -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 "$@"
src/config.cpp +0 −3
@@ -1545,9 +1545,6 @@
service_ctrl::wait_for_ui_ready();
}
// Launch the web UI
launch_ui();
// Always return 1 to ensure Sunshine doesn't start normally
return 1;
}