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
|
#!/bin/sh
|
||||||
|
exec sunshine "$@"
|
||||||
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
|
|
||||||
|
|||||||
@@ -1545,9 +1545,6 @@ namespace config {
|
|||||||
service_ctrl::wait_for_ui_ready();
|
service_ctrl::wait_for_ui_ready();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Launch the web UI
|
|
||||||
launch_ui();
|
|
||||||
|
|
||||||
// Always return 1 to ensure Sunshine doesn't start normally
|
// Always return 1 to ensure Sunshine doesn't start normally
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user