mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-13 11:47:13 +01:00
Fixed signing on MacOS
This commit is contained in:
parent
7474241e01
commit
1fe799b445
@ -120,10 +120,6 @@ install_exec() {
|
|||||||
|
|
||||||
# Add new single rpath
|
# Add new single rpath
|
||||||
install_name_tool -add_rpath @loader_path/../Frameworks $EXEC_DEST
|
install_name_tool -add_rpath @loader_path/../Frameworks $EXEC_DEST
|
||||||
|
|
||||||
# Re-sign
|
|
||||||
codesign --remove-signature $EXEC_DEST
|
|
||||||
codesign -s - $EXEC_DEST
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ========================= Install binaries =========================
|
# ========================= 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>CFBundleExecutable</key><string>sdrpp</string>' >> $DOTAPP/Contents/Info.plist
|
||||||
echo ' <key>CFBundleIconFile</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 ' </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
|
Loading…
Reference in New Issue
Block a user