Skip to content

Commit

Permalink
Merge pull request #37 from beeware/revert-35-permissions
Browse files Browse the repository at this point in the history
Revert "Add extension points for permissions."
  • Loading branch information
freakboy3742 authored Jan 15, 2024
2 parents b90118b + 4eacbc6 commit 21d4dcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
7 changes: 2 additions & 5 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"formal_name": "App Name",
"app_name": "{{ cookiecutter.formal_name|lower|replace(' ', '-') }}",
"module_name": "{{ cookiecutter.app_name|replace('-', '_') }}",
"info": "",
"entitlements": "",
"document_types": "",
"version": "1.0.0",
"build": "1",
"bundle": "com.example",
"document_types": {},
"python_version": "3.X.0",
"_extensions": [
"briefcase.integrations.cookiecutter.PythonVersionExtension",
"briefcase.integrations.cookiecutter.PListExtension"
"briefcase.integrations.cookiecutter.PythonVersionExtension"
]
}
10 changes: 4 additions & 6 deletions {{ cookiecutter.format }}/Entitlements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
{%- if cookiecutter.entitlements -%}
{%- for entitlement, value in cookiecutter.entitlements.items() %}
<key>{{ entitlement }}</key>
{{ value|plist_value }}
{%- endfor -%}
{%- endif %}
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,5 @@
{% endfor %}
</array>
{% endif %}
{%- if cookiecutter.info -%}
{%- for permission, value in cookiecutter.info.items() %}
<key>{{ permission }}</key>
{{ value|plist_value }}
{%- endfor -%}
{%- endif %}
</dict>
</plist>

0 comments on commit 21d4dcd

Please sign in to comment.