Fixed signing on MacOS

This commit is contained in:
Alexandre 2021-11-17 11:16:20 -06:00
parent 7474241e01
commit 1fe799b445

View File

@ -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 ' <key>CFBundleSignature</key><string>sdrp</string>' >> $DOTAPP/Cont
echo ' <key>CFBundleExecutable</key><string>sdrpp</string>' >> $DOTAPP/Contents/Info.plist
echo ' <key>CFBundleIconFile</key><string>sdrpp</string>' >> $DOTAPP/Contents/Info.plist
echo ' </dict>' >> $DOTAPP/Contents/Info.plist
echo '</plist>' >> $DOTAPP/Contents/Info.plist
echo '</plist>' >> $DOTAPP/Contents/Info.plist
# ========================= Sign the dotapp =========================
codesign --force --deep -s - $DOTAPP