Skip to content

Commit

Permalink
Add extension points for permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jan 12, 2024
1 parent b0f9757 commit 77e03b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"bundle": "com.example",
"bundle_identifier": "{{ cookiecutter.bundle }}.{{ cookiecutter.app_name|replace('_', '-') }}",
"splash_background_color": "#FFFFFF",
"permissions": "",
"version": "1.0",
"build": "1",
"python_version": "3.X.0",
Expand All @@ -17,6 +18,7 @@
],
"_extensions": [
"briefcase.integrations.cookiecutter.PythonVersionExtension",
"briefcase.integrations.cookiecutter.RGBExtension"
"briefcase.integrations.cookiecutter.RGBExtension",
"briefcase.integrations.cookiecutter.PListExtension"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,11 @@
<key>UISceneConfigurations</key>
<dict/>
</dict>
{%- if cookiecutter.permissions -%}
{%- for permission, value in cookiecutter.permissions.items() %}
<key>{{ permission }}</key>
{{ value|plist_value }}
{%- endfor -%}
{%- endif %}
</dict>
</plist>

0 comments on commit 77e03b0

Please sign in to comment.