shithub: m8c

Download patch

ref: 08a88091aa78ae3b3db5c0b6d44f8112284276ce
parent: 1b79d40bcc4f50b05de0ca3982135108371a4cb5
author: Yosam02 <sam.wilkinson2103@gmail.com>
date: Thu Aug 15 16:16:00 EDT 2024

Enable Code Signing for Apple Silicon version

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,7 +56,8 @@
     set(APPS "\${CMAKE_INSTALL_PREFIX}/${APP_NAME}.app")
 
     install(CODE "include(BundleUtilities)
-    fixup_bundle(\"${APPS}\" \"\" \"\")")
+    fixup_bundle(\"${APPS}\" \"\" \"\")
+    execute_process(COMMAND codesign --force --deep --sign - \${CMAKE_INSTALL_PREFIX}/${APP_NAME}.app)")
     set(CPACK_GENERATOR "DragNDrop")
     include(CPack)
 endif ()
--