From 6bdd0cce7c278474c7e7b27b9a05ee885aa82bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Sat, 16 Jan 2021 16:33:27 +0100 Subject: [PATCH] Use snap classic confinement. Czkawka needs to have access to all available for user data, but snap prevents from it when using sandbox. --- snap/snapcraft.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a4a7db1..7a8299a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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