Revision: 12223
          http://sourceforge.net/p/skim-app/code/12223
Author:   hofman
Date:     2021-03-24 16:03:00 +0000 (Wed, 24 Mar 2021)
Log Message:
-----------
Use entitlements in codesign script

Modified Paths:
--------------
    trunk/codesign_skim.sh

Modified: trunk/codesign_skim.sh
===================================================================
--- trunk/codesign_skim.sh      2021-03-24 16:00:12 UTC (rev 12222)
+++ trunk/codesign_skim.sh      2021-03-24 16:03:00 UTC (rev 12223)
@@ -10,6 +10,8 @@
 
 SKIM_BUNDLE_PATH="${!#}"
 
+SKIM_ENTITLEMENTS=$(dirname "$0")/Skim.entitlements
+
 # see 
https://mjtsai.com/blog/2021/02/18/code-signing-when-building-on-apple-silicon/
 CODESIGN_FLAGS="--verbose --options runtime --timestamp --force 
--digest-algorithm=sha1,sha256"
 
@@ -34,4 +36,4 @@
 LOCATION="${CONTENTS_DIR}/MacOS"
 codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" "${LOCATION}/relaunch"
 
-codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" "${BIBDESK_BUNDLE_PATH}"
+codesign ${CODESIGN_FLAGS} --sign "${IDENTITY}" --entitlements 
"${SKIM_ENTITLEMENTS}" "${BIBDESK_BUNDLE_PATH}"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to