fix(flatpak): fix broken desktop file, icons, and service (#3561)
This commit is contained in:
parent
3048e6fe20
commit
f5b923c406
8 changed files with 58 additions and 49 deletions
11
packaging/linux/flatpak/scripts/sunshine.sh
Normal file
11
packaging/linux/flatpak/scripts/sunshine.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue