mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Check for a signing identity of "-" when building Sparkle Test App
This commit is contained in:
1 parent
4565467287
commit
f42ceec378
1 file changed
+1
-1
@@ -7,6 +7,6 @@ DOWNLOADER_INFO_PLIST="${TARGET_BUILD_DIR}"/"${CONTENTS_FOLDER_PATH}"/XPCService
|
||||
#Only alter bundles if code signing is off, else we'll invalidate the signature on them
|
||||
#If code signing is enabled (as in debug mode), then we rely on another script for turning ATS exceptions on for these services
|
||||
#In release mode however, those services do not have ATS exceptions set up which is why we have to set up exceptions *here*
|
||||
if [ -z "${CODE_SIGN_IDENTITY}" ] ; then
|
||||
if [ -z "${CODE_SIGN_IDENTITY}" -o "${CODE_SIGN_IDENTITY}" == "-" ] ; then
|
||||
/usr/libexec/PlistBuddy -c "Set :NSAppTransportSecurity:NSAllowsArbitraryLoads YES" "${DOWNLOADER_INFO_PLIST}"
|
||||
fi
|
||||
Reference in new issue
Block a user