Skip to content

Commit

Permalink
fix: s/snapcraftctl/craftctl/
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Lowe <[email protected]>
  • Loading branch information
sergiusens and lengau authored Nov 26, 2024
1 parent cf71338 commit 712e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ parts:
git_hash="$(git rev-parse --short HEAD)"
snapcraftctl set-version "${last_committed_tag}+git${git_revno}.${git_hash}"
override-build: |
snapcraftctl build
craftctl default
# Correct the Icon path
sed -i 's|^Icon=.*|Icon=${SNAP}/usr/share/icons/hicolor/scalable/apps/org.flameshot.Flameshot.svg|' ${CRAFT_PART_INSTALL}/usr/share/applications/org.flameshot.Flameshot.desktop
sed -i 's/^\(Name\(\[.\+\]\)\?=.*\)$/\1 (Snap Edition)/g' ${CRAFT_PART_INSTALL}/usr/share/applications/org.flameshot.Flameshot.desktop
Expand Down

0 comments on commit 712e746

Please sign in to comment.