From 77eae04bcf82a2b2124f6cfe011f34137f1b09d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=20Lin=29?= Date: Thu, 2 May 2019 09:25:29 +0800 Subject: [PATCH] snap: Use descriptive interface reference for *-files plugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New Snap Store policy requires *-files interface plugs be named in a specific name. Fixes #241. Refer-to: The personal-files interface - doc - snapcraft.io Refer-to: The system-files interface - doc - snapcraft.io Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- snap/snapcraft.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4be3a901..f8e26fa9 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -41,11 +41,13 @@ plugs: network-bind: # Configuration access - personal-files: + config-gallery-dl: + interface: personal-files read: - $HOME/.config/gallery-dl - $HOME/.gallery-dl.conf - system-files: + etc-gallery-dl: + interface: system-files read: - /etc/gallery-dl.conf