Skip to content

Commit

Permalink
try fix mac signature issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 31, 2024
1 parent 61528de commit 1582b85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CPackMacDeployQt.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
execute_process(COMMAND "codesign" --remove-signature ${CMAKE_CURRENT_BINARY_DIR}/VNote.app
WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}
)
execute_process(COMMAND "codesign" --force --deep -s - ${CMAKE_CURRENT_BINARY_DIR}/VNote.app
WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}
)
execute_process(COMMAND "${MACDEPLOYQT_EXECUTABLE}" ${CMAKE_CURRENT_BINARY_DIR}/VNote.app -dmg
-always-overwrite -verbose=1
WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}
Expand Down

0 comments on commit 1582b85

Please sign in to comment.