diff options
author | saturneric <[email protected]> | 2024-03-03 13:26:51 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-03-03 13:26:51 +0000 |
commit | 0f9d06ac1545885db38e1f1cb630490d8d693aad (patch) | |
tree | c648001cd22b5c70280d1c895b7f32bcd5d9eeaa | |
parent | fix: translation doesn't refresh after switching (diff) | |
download | GpgFrontend-0f9d06ac1545885db38e1f1cb630490d8d693aad.tar.gz GpgFrontend-0f9d06ac1545885db38e1f1cb630490d8d693aad.zip |
fix: could not determine the path to the executable based on the desktop file
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eab2df9d..9b6a96c7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -159,7 +159,7 @@ if (BUILD_APPLICATION) # Refresh App Bundle file(REMOVE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${AppName}.app) elseif (LINUX AND NOT LINUX_INSTALL_SOFTWARE) - file(REMOVE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/gpgfrontend/usr/bin/${AppName}) + file(REMOVE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/AppDir/usr/bin/${AppName}) endif () endif () endif () @@ -365,11 +365,11 @@ if (BUILD_APPLICATION) elseif (LINUX AND NOT LINUX_INSTALL_SOFTWARE) add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES}) add_custom_command(TARGET ${AppName} POST_BUILD - COMMAND /bin/mkdir -p ./gpgfrontend/usr/bin && /bin/mv -f ./${AppName} ./gpgfrontend/usr/bin/ + COMMAND /bin/mkdir -p ./AppDir/usr/bin && /bin/mv -f ./${AppName} ./AppDir/usr/bin/ WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} COMMENT "Copying Binary into App Image") add_custom_command(TARGET ${AppName} POST_BUILD - COMMAND /bin/mkdir -p ./gpgfrontend/usr/lib + COMMAND /bin/mkdir -p ./AppDir/usr/lib WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} COMMENT "Complement to build the required architecture") # app bundle packing using xcode |