Fix wrong path in desktop file (#2223)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
parent
9e299c295d
commit
c86a4e112b
4 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
# unix specific packaging
|
# unix specific packaging
|
||||||
# put anything here that applies to both linux and macos
|
# put anything here that applies to both linux and macos
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
|
||||||
|
|
||||||
# return here if building a macos package
|
# return here if building a macos package
|
||||||
if(SUNSHINE_PACKAGE_MACOS)
|
if(SUNSHINE_PACKAGE_MACOS)
|
||||||
return()
|
return()
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ if (APPLE)
|
||||||
configure_file(packaging/macos/Portfile Portfile @ONLY)
|
configure_file(packaging/macos/Portfile Portfile @ONLY)
|
||||||
endif()
|
endif()
|
||||||
elseif (UNIX)
|
elseif (UNIX)
|
||||||
|
include(GNUInstallDirs) # this needs to be included prior to configuring the desktop files
|
||||||
|
|
||||||
# configure the .desktop file
|
# configure the .desktop file
|
||||||
if(${SUNSHINE_BUILD_APPIMAGE})
|
if(${SUNSHINE_BUILD_APPIMAGE})
|
||||||
configure_file(packaging/linux/AppImage/sunshine.desktop sunshine.desktop @ONLY)
|
configure_file(packaging/linux/AppImage/sunshine.desktop sunshine.desktop @ONLY)
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@ Actions=RunInTerminal;KMS;
|
||||||
[Desktop Action RunInTerminal]
|
[Desktop Action RunInTerminal]
|
||||||
Name=Run in Terminal
|
Name=Run in Terminal
|
||||||
Icon=application-x-executable
|
Icon=application-x-executable
|
||||||
Exec=gio launch @CMAKE_INSTALL_DATAROOTDIR@/applications/sunshine_terminal.desktop
|
Exec=gio launch @CMAKE_INSTALL_FULL_DATAROOTDIR@/applications/sunshine_terminal.desktop
|
||||||
|
|
||||||
[Desktop Action KMS]
|
[Desktop Action KMS]
|
||||||
Name=Run in Terminal (KMS)
|
Name=Run in Terminal (KMS)
|
||||||
Icon=application-x-executable
|
Icon=application-x-executable
|
||||||
Exec=gio launch @CMAKE_INSTALL_DATAROOTDIR@/applications/sunshine_kms.desktop
|
Exec=gio launch @CMAKE_INSTALL_FULL_DATAROOTDIR@/applications/sunshine_kms.desktop
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@ Actions=RunInTerminal;
|
||||||
[Desktop Action RunInTerminal]
|
[Desktop Action RunInTerminal]
|
||||||
Name=Run in Terminal
|
Name=Run in Terminal
|
||||||
Icon=application-x-executable
|
Icon=application-x-executable
|
||||||
Exec=gio launch @CMAKE_INSTALL_DATAROOTDIR@/applications/sunshine_terminal.desktop
|
Exec=gio launch @CMAKE_INSTALL_FULL_DATAROOTDIR@/applications/sunshine_terminal.desktop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue