[tali/gnome-3-38] snap: Handle icon change



commit e11bf688b20d0d38231a931726d76f5cc26f7f35
Author: Ken VanDine <ken vandine canonical com>
Date:   Fri Sep 25 16:29:36 2020 -0400

    snap: Handle icon change

 snap/snapcraft.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index d3911fc..87ccadc 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -31,10 +31,10 @@ parts:
     source: .
     source-type: git
     override-build: |
-      sed -i.bak -e 's|=org.gnome.Tali$|=${SNAP}/meta/gui/org.gnome.Tali.png|g' 
data/org.gnome.Tali.desktop.in
+      sed -i.bak -e 's|=org.gnome.Tali$|=${SNAP}/meta/gui/org.gnome.Tali.svg|g' 
data/org.gnome.Tali.desktop.in
       snapcraftctl build
       mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
-      cp ../src/data/icons/256x256/org.gnome.Tali.png $SNAPCRAFT_PART_INSTALL/meta/gui/
+      cp ../src/data/icons/scalable/org.gnome.Tali.svg $SNAPCRAFT_PART_INSTALL/meta/gui/
       cp ../install/snap/tali/current/usr/share/applications/org.gnome.Tali.desktop 
$SNAPCRAFT_PART_INSTALL/meta/gui/
     plugin: meson
     meson-parameters: [--prefix=/snap/tali/current/usr]


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