Supply custom .desktop file for .deb builds to fix icons under GNOME (#1917)

This commit is contained in:
наб 2025-08-15 03:19:08 +02:00 committed by GitHub
parent 2045375f3e
commit 3067609c64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Haveno
GenericName=Monero Exchange
Comment=A decentralized monero exchange network.
Exec=/opt/haveno/bin/Haveno
Icon=/opt/haveno/lib/Haveno.png
Terminal=false
Type=Application
Categories=Network
MimeType=
StartupWMClass=haveno.desktop.app.HavenoApp

View file

@ -321,6 +321,7 @@ task packageInstallers {
// Package deb
executeCmd(jPackageFilePath + commonOpts + linuxOpts +
" --resource-dir \"${project(':desktop').projectDir}/package/linux/jpackage.deb\"" +
" --linux-deb-maintainer noreply@haveno.exchange" +
" --type deb")