Skip to content

Commit

Permalink
Use platform-appropriate keys in template context.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jan 12, 2024
1 parent c9045ca commit 478edd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module_name": "{{ cookiecutter.app_name|replace('-', '_') }}",
"author": "Example Corporation",
"bundle": "com.example",
"permissions": "",
"info": "",
"entitlements": "",
"document_types": "",
"version": "1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
{% endfor %}
</array>
{% endif %}
{%- if cookiecutter.permissions -%}
{%- for permission, value in cookiecutter.permissions.items() %}
{%- if cookiecutter.info -%}
{%- for permission, value in cookiecutter.info.items() %}
<key>{{ permission }}</key>
{{ value|plist_value }}
{%- endfor -%}
Expand Down

0 comments on commit 478edd6

Please sign in to comment.