Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix: add user-selected read-only entitlement for file access (#2036)

LiggMax7b280734cc9d
diff --git a/macos/Runner/DebugProfile.entitlements b/macos/Runner/DebugProfile.entitlements
index fc6042b7..c20aabc2 100644
--- a/macos/Runner/DebugProfile.entitlements
+++ b/macos/Runner/DebugProfile.entitlements
@@ -12,5 +12,7 @@
<true/>
<key>com.apple.security.files.downloads.read-write</key>
<true/>
+ <key>com.apple.security.files.user-selected.read-only</key>
+ <true/>
</dict>
</plist>
diff --git a/macos/Runner/Release.entitlements b/macos/Runner/Release.entitlements
index d5f45da6..d97ed6bd 100644
--- a/macos/Runner/Release.entitlements
+++ b/macos/Runner/Release.entitlements
@@ -10,5 +10,7 @@
<true/>
<key>com.apple.security.files.downloads.read-write</key>
<true/>
+ <key>com.apple.security.files.user-selected.read-only</key>
+ <true/>
</dict>
</plist>