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