macos entitlements
This commit is contained in:
parent
f0dfa2065c
commit
297de854f1
|
|
@ -17,6 +17,5 @@
|
||||||
"web_renderer": "canvaskit",
|
"web_renderer": "canvaskit",
|
||||||
"use_color_emoji": "false",
|
"use_color_emoji": "false",
|
||||||
"split_per_abi": false,
|
"split_per_abi": false,
|
||||||
"info_plist": {},
|
"options": null
|
||||||
"macos_entitlements": []
|
|
||||||
}
|
}
|
||||||
|
|
@ -50,11 +50,7 @@
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSAllowsArbitraryLoads</key>
|
||||||
<true />
|
<true />
|
||||||
</dict>
|
</dict>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<!-- {% for k, v in cookiecutter.options.info_plist.items() %} -->
|
||||||
<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() %} -->
|
|
||||||
<key>{{ k }}</key>
|
<key>{{ k }}</key>
|
||||||
<!-- {% if v == True %} -->
|
<!-- {% if v == True %} -->
|
||||||
<true />
|
<true />
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,14 @@
|
||||||
<string>MainMenu</string>
|
<string>MainMenu</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<!-- {% for k, v in cookiecutter.options.info_plist.items() %} -->
|
||||||
<string>This app needs access to Audio Recording.</string>
|
<key>{{ k }}</key>
|
||||||
<key>NSLocationUsageDescription</key>
|
<!-- {% if v == True %} -->
|
||||||
<string>This app needs access to location.</string>
|
<true />
|
||||||
|
<!-- {% elif v == False %} -->
|
||||||
|
<false />
|
||||||
|
<!-- {% else %} -->
|
||||||
|
<string>{{ v }}</string>
|
||||||
|
<!-- {% endif %} {% endfor %} -->
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
@ -10,6 +10,12 @@
|
||||||
<true />
|
<true />
|
||||||
<key>com.apple.security.personal-information.location</key>
|
<key>com.apple.security.personal-information.location</key>
|
||||||
<true />
|
<true />
|
||||||
|
<!-- {% for k, v in cookiecutter.options.macos_entitlements.items() %} -->
|
||||||
|
<key>{{ k }}</key>
|
||||||
|
<!-- {% if v == True %} -->
|
||||||
|
<true />
|
||||||
|
<!-- {% elif v == False %} -->
|
||||||
|
<false />
|
||||||
|
<!-- {% endif %} {% endfor %} -->
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue