From dac480f212b00d31a1c3ff2ca367dd1e86c5d028 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 25 Nov 2018 15:14:29 -0800 Subject: Use entitlements file when codesigning for macOS --- install/build_osx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/build_osx.sh b/install/build_osx.sh index f6b27d9b..ad096139 100755 --- a/install/build_osx.sh +++ b/install/build_osx.sh @@ -25,7 +25,7 @@ if [ "$1" = "--release" ]; then IDENTITY_NAME_INSTALLER="Developer ID Installer: Micah Lee" echo "Codesigning the app bundle" - codesign --deep -s "$IDENTITY_NAME_APPLICATION" "$APP_PATH" + codesign --deep -s "$IDENTITY_NAME_APPLICATION" "$APP_PATH" --entitlements "$ROOT/install/OnionShare.entitlements" echo "Creating an installer" productbuild --sign "$IDENTITY_NAME_INSTALLER" --component "$APP_PATH" /Applications "$PKG_PATH" -- cgit v1.2.3-54-g00ecf