mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 18:36:34 +00:00
fix(web-ui): don't open ui automatically on app start (#5329)
This commit is contained in:
committed by
GitHub
parent
7819fa2ec4
commit
a84735d1ec
@@ -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 "$@"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user