Skip to content

An open-source cross-platform alternative to AirDrop

feat: also compile dmg in sandboxed mode

Tien Do Nam11197d115c05
diff --git a/scripts/compile_mac_dmg.sh b/scripts/compile_mac_dmg.sh
index eddd1668..113dc1ce 100644
--- a/scripts/compile_mac_dmg.sh
+++ b/scripts/compile_mac_dmg.sh
@@ -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 ..
\ No newline at end of file
+cd ..