Fix wrong path in desktop file (#2223)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
detiam
2024-03-06 23:23:32 +08:00
committed by GitHub
parent 9e299c295d
commit c86a4e112b
4 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
# unix specific packaging
# put anything here that applies to both linux and macos
include(GNUInstallDirs)
# return here if building a macos package
if(SUNSHINE_PACKAGE_MACOS)
return()

View File

@@ -3,6 +3,8 @@ if (APPLE)
configure_file(packaging/macos/Portfile Portfile @ONLY)
endif()
elseif (UNIX)
include(GNUInstallDirs) # this needs to be included prior to configuring the desktop files
# configure the .desktop file
if(${SUNSHINE_BUILD_APPIMAGE})
configure_file(packaging/linux/AppImage/sunshine.desktop sunshine.desktop @ONLY)