Make desktop icons show up

Fixes: #2
parent 98479808
......@@ -53,6 +53,11 @@ parts:
- qttools5-dev-tools
- libglm-dev
after: [desktop-qt5]
override-prime: |
set -eu
snapcraftctl prime
# Fix-up application icon lookup
sed --in-place 's|^Icon=.*|Icon=${SNAP}/share/icons/hicolor/256x256/apps/solarus.png|' share/applications/solarus.desktop
quest-editor:
plugin: cmake
source-type: git
......@@ -66,3 +71,8 @@ parts:
- qttools5-dev-tools
- libglm-dev
after: [desktop-qt5, launcher]
override-prime: |
set -eu
snapcraftctl prime
# Fix-up application icon lookup
sed --in-place 's|^Icon=.*|Icon=${SNAP}/share/icons/hicolor/256x256/apps/solarus-quest-editor.png|' share/applications/solarus-quest-editor.desktop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment