[PM-38547] Fix missing Flatpak desktop icon (#21040)

* Add app icon to flatpak manifest

* Remove 1024x1024 icon

* Fix startup wm class
This commit is contained in:
Bernd Schoolmann 2026-06-04 21:13:35 +09:00 committed by GitHub
parent b4cfabbcc6
commit 4ee78be61d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Exec=bitwarden %u
Terminal=false
Type=Application
Icon=com.bitwarden.desktop
StartupWMClass=Bitwarden
StartupWMClass=com.bitwarden.desktop
GenericName=Password Manager
Comment=A secure and free password manager for all of your devices.
MimeType=x-scheme-handler/bitwarden;

View File

@ -53,6 +53,7 @@ modules:
- cp com.bitwarden.desktop.desktop ${FLATPAK_DEST}/share/applications/
- install bitwarden.sh /app/bin/bitwarden.sh
- desktop-file-edit --set-key=Exec --set-value="bitwarden.sh %U" ${FLATPAK_DEST}/share/applications/com.bitwarden.desktop.desktop
- for s in 16 32 64 128 256 512; do install -Dm644 icons/${s}x${s}.png ${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/com.bitwarden.desktop.png; done
sources:
- type: dir
only-arches: [x86_64]
@ -62,6 +63,9 @@ modules:
path: ../dist/linux-arm64-unpacked
- type: file
path: ./com.bitwarden.desktop.desktop
- type: dir
path: ./icons
dest: icons
- type: script
dest-filename: bitwarden.sh
commands: