feat: also compile dmg in sandboxed mode

This commit is contained in:
Tien Do Nam
2024-10-31 16:27:38 +01:00
parent 46b7f2ae0e
commit 11197d115c
+2 -2
View File
@@ -12,7 +12,7 @@ echo
echo "Signing the app..."
echo
SIGN_ID="Developer ID Application: Tien Do Nam (3W7H4PYMCV)"
codesign --deep --force --verbose --options runtime --sign "$SIGN_ID" build/macos/Build/Products/Release/LocalSend.app
codesign --deep --force --verbose --options runtime --entitlements macos/Runner/Release.entitlements --sign "$SIGN_ID" build/macos/Build/Products/Release/LocalSend.app
# create dmg
# brew install create-dmg
@@ -50,4 +50,4 @@ echo
echo "Run stapler..."
echo
xcrun stapler staple LocalSend.dmg
cd ..
cd ..