-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(flatpak): fix broken desktop file, icons, and service (#3561)
- Loading branch information
1 parent
3048e6f
commit f5b923c
Showing
8 changed files
with
58 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=@PROJECT_NAME@ | ||
Exec=@PROJECT_FQDN@ | ||
Version=1.0 | ||
Categories=AudioVideo;Network;RemoteAccess; | ||
Comment=@PROJECT_DESCRIPTION@ | ||
Exec=sunshine.sh | ||
Icon=@SUNSHINE_DESKTOP_ICON@ | ||
Keywords=gamestream;stream;moonlight;remote play; | ||
Categories=AudioVideo;Network;RemoteAccess; | ||
Actions=RunInTerminal;KMS; | ||
|
||
[Desktop Action RunInTerminal] | ||
Name=Run in Terminal | ||
Icon=application-x-executable | ||
Exec=gio launch @CMAKE_INSTALL_FULL_DATAROOTDIR@/applications/@PROJECT_FQDN@_terminal.desktop | ||
|
||
[Desktop Action KMS] | ||
Name=Run in Terminal (KMS) | ||
Icon=application-x-executable | ||
Exec=gio launch @CMAKE_INSTALL_FULL_DATAROOTDIR@/applications/@PROJECT_FQDN@_kms.desktop | ||
Name=@PROJECT_NAME@ | ||
Type=Application | ||
Version=1.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters