Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore "Add extension points for permissions." #37

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
"module_name": "{{ cookiecutter.app_name|replace('-', '_') }}",
"author": "Example Corporation",
"bundle": "com.example",
"info": "",
"entitlements": "",
"document_types": "",
"version": "1.0",
"build": "1",
"document_types": {},
"python_version": "3.X.0",
"universal_build": true,
"host_arch": "arm64",
"_extensions": [
"briefcase.integrations.cookiecutter.PythonVersionExtension"
"briefcase.integrations.cookiecutter.PythonVersionExtension",
"briefcase.integrations.cookiecutter.PListExtension"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,11 @@
{% endfor %}
</array>
{% endif %}
{%- if cookiecutter.info -%}
{%- for permission, value in cookiecutter.info.items() %}
<key>{{ permission }}</key>
{{ value|plist_value }}
{%- endfor -%}
{%- endif %}
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
{%- if cookiecutter.entitlements -%}
{%- for entitlement, value in cookiecutter.entitlements.items() %}
<key>{{ entitlement }}</key>
{{ value|plist_value }}
{%- endfor -%}
{%- endif %}
</dict>
</plist>