Skip to content

Commit

Permalink
Revert "Add extension points for permissions."
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 authored Jan 15, 2024
1 parent a71c8a6 commit c788ab7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
2 changes: 0 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"flatpak_runtime": "org.freedesktop.Platform",
"flatpak_runtime_version": "21.08",
"flatpak_sdk": "org.freedesktop.Sdk",
"finish_args": "",
"modules_extra_content": "",
"python_version": "3.X.0",
"_extensions": [
"briefcase.integrations.cookiecutter.PythonVersionExtension"
Expand Down
26 changes: 18 additions & 8 deletions {{ cookiecutter.format }}/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,24 @@ cleanup:
- /include
- /share/man
finish-args:
{%- if cookiecutter.finish_args -%}
{%- for arg, enabled in cookiecutter.finish_args.items() -%}
{%- if enabled %}
- --{{ arg }}
{%- endif -%}
{%- endfor -%}
{%- endif %}
# X11 + XShm access
- --share=ipc
- --socket=x11
# Disable Wayland access
- --nosocket=wayland
# Network access
- --share=network
# GPU access
- --device=dri
# Sound access
- --socket=pulseaudio
# Host filesystem access
- --filesystem=xdg-cache
- --filesystem=xdg-config
- --filesystem=xdg-data
- --filesystem=xdg-documents
# DBus access
- --socket=session-bus
modules:
- name: cpython
buildsystem: simple
Expand Down Expand Up @@ -56,7 +67,6 @@ modules:
- --share=network # For downloaded requirements.
build-commands:
- /app/bin/python3 -m pip install --upgrade pip
{{ cookiecutter.modules_extra_content }}
- name: app_packages
buildsystem: simple
build-options:
Expand Down

0 comments on commit c788ab7

Please sign in to comment.