diff options
author | 2022-02-19 20:15:54 +0530 | |
---|---|---|
committer | 2022-02-19 20:15:54 +0530 | |
commit | 33f2f081abe58d445dbeb5814b75bce0a47c2eed (patch) | |
tree | 67123e285d9a15e37a22f09e53c9007c7b6aabfc | |
parent | 03b1d9393be94775f8564120c11d0e118fcc7a8a (diff) | |
download | whatsie-33f2f081abe58d445dbeb5814b75bce0a47c2eed.tar.gz whatsie-33f2f081abe58d445dbeb5814b75bce0a47c2eed.zip |
install dictionaries
-rw-r--r-- | snap/snapcraft.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6ea2b01..4769940 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -106,8 +106,13 @@ parts: snap-launcher: plugin: dump source: snap_launcher/ + 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 |