fix: add entitlements
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user