Add StartupWMClass for anki.desktop

This ensures that the system can correctly assign the windows of Anki to the desktop launcher item, e.g. in Ubuntu's dock.

Update CONTRIBUTORS
This commit is contained in:
Xidorn Quan 2024-05-28 23:06:08 +10:00 committed by Damien Elmes
parent 81de39768c
commit f7b93a5012
2 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,7 @@ Escape0707 <tothesong@gmail.com>
Loudwig <https://github.com/Loudwig>
Wu Yi-Wei <https://github.com/Ianwu0812>
RRomeroJr <117.rromero@gmail.com>
Xidorn Quan <me@upsuper.org>
********************

View File

@ -13,3 +13,4 @@ MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon;
#should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow
X-GNOME-SingleWindow=true
SingleMainWindow=true
StartupWMClass=anki