summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-11-25 15:14:29 -0800
committerMicah Lee <micah@micahflee.com>2018-11-25 15:14:29 -0800
commitdac480f212b00d31a1c3ff2ca367dd1e86c5d028 (patch)
tree0afa7c88f8f97a84ac18824d793021d24b6aaea2
parentaf637bc697686b1090d6d5d5791675d4b21e0c74 (diff)
downloadonionshare-dac480f212b00d31a1c3ff2ca367dd1e86c5d028.tar.gz
onionshare-dac480f212b00d31a1c3ff2ca367dd1e86c5d028.zip
Use entitlements file when codesigning for macOS
-rwxr-xr-xinstall/build_osx.sh2
1 files changed, 1 insertions, 1 deletions
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"