diff options
author | Micah Lee <micah@micahflee.com> | 2018-11-25 15:14:29 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2018-11-25 15:14:29 -0800 |
commit | dac480f212b00d31a1c3ff2ca367dd1e86c5d028 (patch) | |
tree | 0afa7c88f8f97a84ac18824d793021d24b6aaea2 | |
parent | af637bc697686b1090d6d5d5791675d4b21e0c74 (diff) | |
download | onionshare-dac480f212b00d31a1c3ff2ca367dd1e86c5d028.tar.gz onionshare-dac480f212b00d31a1c3ff2ca367dd1e86c5d028.zip |
Use entitlements file when codesigning for macOS
-rwxr-xr-x | install/build_osx.sh | 2 |
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" |