aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 4769940..6b070ee 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -100,6 +100,8 @@ parts:
make -j4
/opt/qt515/bin/qmake -install qinstall -exe whatsie ${SNAPCRAFT_PART_INSTALL}/usr/bin/whatsie
+
+ cp -r ${SNAPCRAFT_PART_BUILD}/qtwebengine_dictionaries ${SNAPCRAFT_PART_INSTALL}/usr/bin/
strip ${SNAPCRAFT_PART_INSTALL}/usr/bin/whatsie
@@ -109,10 +111,6 @@ parts:
after: [build-src]
override-build: |
snapcraftctl build
-
- #install dictionary files
- cp -r ${SNAPCRAFT_PART_BUILD}/qtwebengine_dictionaries ${SNAPCRAFT_PART_INSTALL}/usr/bin/
-
sed -i 's|Icon=.*|Icon=${SNAP}/meta/gui/icon.png|g' ${SNAPCRAFT_PART_SRC}/whatsie.desktop
mkdir -p ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/
cp -rf ${SNAPCRAFT_PART_SRC}/whatsie.desktop ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/whatsie.desktop