macos entitlements
This commit is contained in:
parent
f0dfa2065c
commit
297de854f1
|
|
@ -17,6 +17,5 @@
|
|||
"web_renderer": "canvaskit",
|
||||
"use_color_emoji": "false",
|
||||
"split_per_abi": false,
|
||||
"info_plist": {},
|
||||
"macos_entitlements": []
|
||||
"options": null
|
||||
}
|
||||
|
|
@ -50,11 +50,7 @@
|
|||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true />
|
||||
</dict>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>This app needs access to Audio Recording.</string>
|
||||
<key>NSLocationWhenInUseUsageDescription</key>
|
||||
<string>This app needs access to location.</string>
|
||||
<!-- {% for k, v in cookiecutter.info_plist.items() %} -->
|
||||
<!-- {% for k, v in cookiecutter.options.info_plist.items() %} -->
|
||||
<key>{{ k }}</key>
|
||||
<!-- {% if v == True %} -->
|
||||
<true />
|
||||
|
|
|
|||
|
|
@ -28,9 +28,14 @@
|
|||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>This app needs access to Audio Recording.</string>
|
||||
<key>NSLocationUsageDescription</key>
|
||||
<string>This app needs access to location.</string>
|
||||
<!-- {% for k, v in cookiecutter.options.info_plist.items() %} -->
|
||||
<key>{{ k }}</key>
|
||||
<!-- {% if v == True %} -->
|
||||
<true />
|
||||
<!-- {% elif v == False %} -->
|
||||
<false />
|
||||
<!-- {% else %} -->
|
||||
<string>{{ v }}</string>
|
||||
<!-- {% endif %} {% endfor %} -->
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -1,15 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<dict>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<false/>
|
||||
<false />
|
||||
<key>com.apple.security.network.client</key>
|
||||
<true/>
|
||||
<true />
|
||||
<key>com.apple.security.device.audio-input</key>
|
||||
<true/>
|
||||
<true />
|
||||
<key>com.apple.security.personal-information.location</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<true />
|
||||
<!-- {% for k, v in cookiecutter.options.macos_entitlements.items() %} -->
|
||||
<key>{{ k }}</key>
|
||||
<!-- {% if v == True %} -->
|
||||
<true />
|
||||
<!-- {% elif v == False %} -->
|
||||
<false />
|
||||
<!-- {% endif %} {% endfor %} -->
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue