fix: add entitlements

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2022-12-01 03:30:42 -07:00
parent b29b6d6eef
commit 682986d9b9
2 changed files with 16 additions and 1 deletions
+6 -1
View File
@@ -88,6 +88,8 @@ EOF
# make executable
chmod a+x novelWriter.app/Contents/MacOS/novelWriter
sudo codesign --sign - --deep --force --entitlements "$SCRIPT_DIR/../macos/App.entitlements" --options runtime "novelWriter.app/Contents/MacOS/novelWriter"
# remove bloat
pushd novelWriter.app/Contents/Resources || exit 1
@@ -111,7 +113,10 @@ rm lib/python3.*/site-packages/PyQt5/Qt/lib/libQt5WebEngine* || true
popd || exit 1
popd || exit 1
echo "Packageing App"
echo "Packageing App ..."
# generate .dmg
brew install create-dmg