Skip to content

Commit

Permalink
temporary disable app sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Aug 21, 2023
1 parent a163eda commit 25f25e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions macos/Runner/DebugProfile.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@
<dict>
<key>com.apple.security.network.client</key>
<true/>
<!-- <key>com.apple.security.app-sandbox</key>
<true/> -->
<key>com.apple.security.app-sandbox</key>
<true/>
<false/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<!-- <key>com.apple.developer.system-extension.install</key>
<true/> -->

<!--
<key>com.apple.developer.networking.networkextension</key>
<array>
<!-- <string>packet-tunnel-provider-systemextension</string>
<string>packet-tunnel-provider-systemextension</string>
<string>app-proxy-provider-systemextension</string>
<string>content-filter-provider-systemextension</string>
<string>dns-proxy-systemextension</string> -->
<string>dns-settings</string>
<string>dns-proxy-systemextension</string>
<string>dns-settings</string>
<string>dns-proxy</string>
<string>app-proxy-provider</string>
<string>packet-tunnel-provider</string>
</array>
<key>com.apple.developer.networking.vpn.api</key>
<string>allow-vpn</string>
<string>allow-vpn</string> -->

</dict>
</plist>
14 changes: 8 additions & 6 deletions macos/Runner/Release.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@
<dict>
<key>com.apple.security.network.client</key>
<true/>
<!-- <key>com.apple.security.app-sandbox</key>
<true/> -->
<key>com.apple.security.app-sandbox</key>
<true/>
<false/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<!-- <key>com.apple.developer.system-extension.install</key>
<true/> -->

<!--
<key>com.apple.developer.networking.networkextension</key>
<array>
<!-- <string>packet-tunnel-provider-systemextension</string>
<string>packet-tunnel-provider-systemextension</string>
<string>app-proxy-provider-systemextension</string>
<string>content-filter-provider-systemextension</string>
<string>dns-proxy-systemextension</string> -->
<string>dns-settings</string>
<string>dns-proxy-systemextension</string>
<string>dns-settings</string>
<string>dns-proxy</string>
<string>app-proxy-provider</string>
<string>packet-tunnel-provider</string>
</array>
<key>com.apple.developer.networking.vpn.api</key>
<string>allow-vpn</string>
<string>allow-vpn</string> -->

</dict>
</plist>

0 comments on commit 25f25e2

Please sign in to comment.