From cd4539f93490279d3da5bd789a8bf162b200b8ad Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 26 Mar 2019 10:35:44 -0700 Subject: [PATCH] =?UTF-8?q?Update=20snapcraft.yml=20to=20copy=20the=20icon?= =?UTF-8?q?=20to=20the=20part=E2=80=99s=20staging=20area?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snap/snapcraft.template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.template.yaml b/snap/snapcraft.template.yaml index eea68197a..78f99bafd 100644 --- a/snap/snapcraft.template.yaml +++ b/snap/snapcraft.template.yaml @@ -30,7 +30,7 @@ parts: - desktop-gtk3 override-build: | set -ex - sed -i 's|Icon=mailspring|Icon=/usr/share/pixmaps/mailspring\.png|' usr/share/applications/mailspring.desktop + sed -i 's|Icon=mailspring|Icon=/usr/share/pixmaps/mailspring\.png|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/mailspring.desktop snapcraftctl build mkdir -p $SNAPCRAFT_PART_INSTALL/share/themes mkdir -p $SNAPCRAFT_PART_INSTALL/share/icons