Skip to content

Commit

Permalink
Add compatible desktop file and icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Aug 13, 2024
1 parent 938c7e8 commit b6ae4bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apps:
extensions: [gnome]
command: usr/bin/openhv
common-id: openhv.desktop
desktop: usr/share/applications/openhv.desktop
plugs:
- audio-playback
- desktop
Expand Down Expand Up @@ -51,6 +52,7 @@ parts:
popd
dotnet publish -c Release -o $SNAPCRAFT_PART_INSTALL/usr/lib/openhv/ --self-contained true
make prefix=/usr install-executables install-metadata install-data DESTDIR=$SNAPCRAFT_PART_INSTALL
sed -i -Ee 's|^Icon=(.*)$|Icon=/usr/share/icons/hicolor/256x256/apps/\1.png|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/openhv.desktop
build-packages:
- wget
Expand Down

0 comments on commit b6ae4bf

Please sign in to comment.