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:
parent
e8942609ff
commit
6bdd0cce7c
|
@ -7,7 +7,7 @@ description: |
|
||||||
This program have frontend written in modern GTK 3.
|
This program have frontend written in modern GTK 3.
|
||||||
|
|
||||||
grade: stable # must be 'stable' to release into candidate/stable channels
|
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:
|
parts:
|
||||||
czkawka:
|
czkawka:
|
||||||
|
@ -21,6 +21,7 @@ parts:
|
||||||
- git
|
- git
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libgtk-3-dev
|
- libgtk-3-dev
|
||||||
|
- libasound2-dev
|
||||||
override-build: |
|
override-build: |
|
||||||
if ! command -v rustup 2>/dev/null; then
|
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
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile=minimal
|
||||||
|
@ -32,7 +33,7 @@ parts:
|
||||||
apps:
|
apps:
|
||||||
czkawka:
|
czkawka:
|
||||||
command: bin/czkawka_gui
|
command: bin/czkawka_gui
|
||||||
extensions: [gnome-3-28]
|
# extensions: [gnome-3-28]
|
||||||
plugs:
|
plugs:
|
||||||
- home
|
- home
|
||||||
- removable-media
|
- removable-media
|
||||||
|
|
Loading…
Reference in a new issue