An open-source cross-platform alternative to AirDrop
fix(macos): file sharing via Share Extension doesn't work in DMG builds (#3415)
Shlomo3e8d76a5fa64
diff --git a/app/assets/CHANGELOG.md b/app/assets/CHANGELOG.mdindex 4a716258..2305b2bc 100644--- a/app/assets/CHANGELOG.md+++ b/app/assets/CHANGELOG.md@@ -1,3 +1,7 @@+## Unreleased++- fix(macos): file sharing via Share Extension doesn't work in DMG builds (@ShlomoCode, @vdmkotai)+## 1.18.2 (2026-08-21)- feat: drag and drop files into the "Receive via link" browser pagediff --git a/app/macos/Runner.xcodeproj/project.pbxproj b/app/macos/Runner.xcodeproj/project.pbxprojindex fe9308a7..e62f43ba 100644--- a/app/macos/Runner.xcodeproj/project.pbxproj+++ b/app/macos/Runner.xcodeproj/project.pbxproj@@ -816,6 +816,7 @@CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;CLANG_WARN_SUSPICIOUS_MOVE = YES;CODE_SIGN_IDENTITY = "-";+ CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;COPY_PHASE_STRIP = NO;DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";ENABLE_NS_ASSERTIONS = NO;diff --git a/support/scripts/compile_mac_dmg.sh b/support/scripts/compile_mac_dmg.shindex 7f634687..f91b0861 100644--- a/support/scripts/compile_mac_dmg.sh+++ b/support/scripts/compile_mac_dmg.sh@@ -14,7 +14,7 @@ echoecho "Signing the app..."echoSIGN_ID="Developer ID Application: Tien Do Nam (3W7H4PYMCV)"-codesign --deep --force --verbose --options runtime --entitlements macos/Runner/Release.entitlements --sign "$SIGN_ID" build/macos/Build/Products/Release/LocalSend.app+codesign --deep --force --verbose --options runtime --preserve-metadata=entitlements --sign "$SIGN_ID" build/macos/Build/Products/Release/LocalSend.app# create dmg# brew install create-dmg