[gnome-characters] snap: Don't use the themed icon, use the app icon



commit 7d736647ea5711e6568ba5af28c8e8f82a35e293
Author: Ken VanDine <ken vandine canonical com>
Date:   Wed May 6 17:25:18 2020 -0400

    snap: Don't use the themed icon, use the app icon

 build-aux/snap/snapcraft.yaml | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/build-aux/snap/snapcraft.yaml b/build-aux/snap/snapcraft.yaml
index 6588dad..d68c795 100644
--- a/build-aux/snap/snapcraft.yaml
+++ b/build-aux/snap/snapcraft.yaml
@@ -41,6 +41,9 @@ parts:
       snap/gnome-characters/current/usr: usr
     override-pull: |
       snapcraftctl pull
+      sed -i.bak -e 's|=@appid@$|=${SNAP}/meta/gui/org.gnome.Characters.svg|g' 
data/org.gnome.Characters.desktop.in
+      mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
+      cp ../src/data/icons/hicolor/scalable/apps/org.gnome.Characters.svg $SNAPCRAFT_PART_INSTALL/meta/gui/
       sed -i.bak -e 
's|=@bindir@/gnome-characters$|=${SNAP}/usr/share/org.gnome.Characters/org.gnome.Characters|g' 
data/org.gnome.Characters.desktop.in
     override-build: |
       snapcraftctl build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]