Skip to content

Commit

Permalink
codesign --remove-signature will cause broken binary
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Jul 19, 2024
1 parent 78de724 commit e3bce37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install Dependencies
run: |
brew install tree libiodbc libpq
brew install tree libiodbc libpq optool
- name: Fix SQL
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/CPackMacDeployQt.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute_process(COMMAND "codesign" --remove-signature ${CMAKE_CURRENT_BINARY_DIR}/VNote.app
execute_process(COMMAND "optool" strip -t ${CMAKE_CURRENT_BINARY_DIR}/VNote.app
WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}
)
execute_process(COMMAND "${MACDEPLOYQT_EXECUTABLE}" ${CMAKE_CURRENT_BINARY_DIR}/VNote.app -dmg
Expand Down

0 comments on commit e3bce37

Please sign in to comment.