From 1fe799b445ab826faa7688a4971573f809c0dc10 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Wed, 17 Nov 2021 11:16:20 -0600 Subject: [PATCH] Fixed signing on MacOS --- make_macos_dotapp_new.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/make_macos_dotapp_new.sh b/make_macos_dotapp_new.sh index 13415088..95450790 100644 --- a/make_macos_dotapp_new.sh +++ b/make_macos_dotapp_new.sh @@ -120,10 +120,6 @@ install_exec() { # Add new single rpath install_name_tool -add_rpath @loader_path/../Frameworks $EXEC_DEST - - # Re-sign - codesign --remove-signature $EXEC_DEST - codesign -s - $EXEC_DEST } # ========================= Install binaries ========================= @@ -196,4 +192,8 @@ echo ' CFBundleSignaturesdrp' >> $DOTAPP/Cont echo ' CFBundleExecutablesdrpp' >> $DOTAPP/Contents/Info.plist echo ' CFBundleIconFilesdrpp' >> $DOTAPP/Contents/Info.plist echo ' ' >> $DOTAPP/Contents/Info.plist -echo '' >> $DOTAPP/Contents/Info.plist \ No newline at end of file +echo '' >> $DOTAPP/Contents/Info.plist + +# ========================= Sign the dotapp ========================= + +codesign --force --deep -s - $DOTAPP \ No newline at end of file