aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release-ci.yml2
-rw-r--r--src/CMakeLists.txt10
2 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml
index a934cf89..e59656c8 100644
--- a/.github/workflows/release-ci.yml
+++ b/.github/workflows/release-ci.yml
@@ -138,7 +138,7 @@ jobs:
- name: Package App Image (Linux)
run: |
- mdkir ${{github.workspace}}/build/artifactOut
+ mkdir ${{github.workspace}}/build/artifactOut
cd ${{github.workspace}}/build/artifactOut
wget -c -nv https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
chmod u+x linuxdeployqt-continuous-x86_64.AppImage
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f3a266ac..0121dc71 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -93,17 +93,21 @@ if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
add_custom_command(TARGET ${AppName} POST_BUILD
COMMAND /bin/rm -rf ./${AppName}.app/Contents/Resources
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
- COMMENT "Deleting Resources IN App Bundle")
+ COMMENT "Deleting Resources in App Bundle")
add_custom_command(TARGET ${AppName} POST_BUILD
COMMAND /bin/mv -n ./Resources ./${AppName}.app/Contents/
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
- COMMENT "Copying Resources INTO App Bundle Resource")
+ COMMENT "Copying Resources into App Bundle Resource")
elseif(LINUX)
add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
add_custom_command(TARGET ${AppName} POST_BUILD
COMMAND /bin/mkdir ./gpgfrontend/usr/bin && /bin/mv -f ./${AppName} ./gpgfrontend/usr/bin/
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
- COMMENT "Copying Binary INTO App Image")
+ COMMENT "Copying Binary into App Image")
+ add_custom_command(TARGET ${AppName} POST_BUILD
+ COMMAND /bin/mkdir ./gpgfrontend/usr/lib
+ WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+ COMMENT "Complement to build the required architecture")
else()
add_executable(${AppName} ${BASE_SOURCE} ${RESOURCE_FILES} ${QT5_MOCS})
endif()