1
0
Fork 0
mirror of synced 2024-04-29 18:13:47 +12:00

Use snap classic confinement.

Czkawka needs to have access to all available for user data, but snap prevents from it when using sandbox.
This commit is contained in:
Rafał Mikrut 2021-01-16 16:33:27 +01:00
parent e8942609ff
commit 6bdd0cce7c

View file

@ -7,7 +7,7 @@ description: |
This program have frontend written in modern GTK 3.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
confinement: classic # use 'strict' once you have the right plugs and slots
parts:
czkawka:
@ -21,6 +21,7 @@ parts:
- git
stage-packages:
- libgtk-3-dev
- libasound2-dev
override-build: |
if ! command -v rustup 2>/dev/null; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile=minimal
@ -32,7 +33,7 @@ parts:
apps:
czkawka:
command: bin/czkawka_gui
extensions: [gnome-3-28]
# extensions: [gnome-3-28]
plugs:
- home
- removable-media