Skip to content

Commit

Permalink
chore(snap): add icon, and fix other properties
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Oct 20, 2024
1 parent 5e1e398 commit 8d16214
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ description: |
A cross platform mDNS-Browser app written in Rust using tauri and leptos
grade: stable
confinement: strict
icon: src-tauri/icons/icon.png
issues: https://github.com/hrzlgnm/mdns-browser/issues
license: MIT License
source-code: https://github.com/hrzlgnm/mdns-browser

platforms:
amd64:
build-on: [amd64]
Expand Down Expand Up @@ -37,5 +42,6 @@ parts:
- libayatana-appindicator3-1
source: https://github.com/hrzlgnm/mdns-browser/releases/download/mdns-browser-v0.9.0/mdns-browser_0.9.0_amd64.deb
source-type: deb
override-build: snapcraftctl build
override-build: |
snapcraftctl build
sed -i -e "s|Icon=mdns-browser|Icon=/usr/share/icons/hicolor/32x32/apps/mdns-browser.png|g" $SNAPCRAFT_PART_INSTALL/usr/share/applications/mdns-browser.desktop

0 comments on commit 8d16214

Please sign in to comment.