Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions packaging/linux/flatpak/scripts/sunshine.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 0 additions & 3 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Loading