diff --git a/packaging/linux/flatpak/scripts/sunshine.sh b/packaging/linux/flatpak/scripts/sunshine.sh index 6fb51457f84..9c31463cdd8 100644 --- a/packaging/linux/flatpak/scripts/sunshine.sh +++ b/packaging/linux/flatpak/scripts/sunshine.sh @@ -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 "$@" diff --git a/src/config.cpp b/src/config.cpp index 1c8bed32b47..fb67fef71c7 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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; }