diff --git a/ci/deploy.sh b/ci/deploy.sh index defea143d..94b5d534a 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -76,7 +76,8 @@ case $OSTYPE in echo "Grant apple tools access to build.keychain" security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_PW" build.keychain echo "Codesign" - /usr/bin/codesign --keychain build.keychain --force --options runtime --deep --sign "$MACOS_TEAM_ID" $zipdir/WezTerm.app/ + /usr/bin/codesign --keychain build.keychain --force --options runtime \ + --entitlements ci/macos-entitlement.plist --deep --sign "$MACOS_TEAM_ID" $zipdir/WezTerm.app/ echo "Restore default keychain" security default-keychain -d user -s $def_keychain echo "Remove build.keychain" diff --git a/ci/macos-entitlement.plist b/ci/macos-entitlement.plist new file mode 100644 index 000000000..cffd6379c --- /dev/null +++ b/ci/macos-entitlement.plist @@ -0,0 +1,8 @@ + + + + + com.apple.security.automation.apple-events + + +