mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Use entitlements file when codesigning for macOS
This commit is contained in:
parent
af637bc697
commit
dac480f212
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user