Update snapcraft.yml to copy the icon to the part’s staging area

This commit is contained in:
Ben Gotow 2019-03-26 10:35:44 -07:00
parent af2ccff963
commit cd4539f934

View file

@ -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