rename zim icon to "org.kiwix.desktop.x-zim"

flatpack doesn't export files that aren't prefixed like the app (org.kiwix.desktop)
so it has to be renamed and to be precised in the mimetype.xml file because it doesn't matched to the mimetype's name anymore
This commit is contained in:
luddens 2019-04-10 17:31:08 +02:00
parent 3cc06729d9
commit 7b49f08360
4 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,7 @@ unix {
INSTALLS += app_icon24 app_icon32 app_icon48 app_icon128 app_icon256
mime_icon48.path = $$PREFIX/share/icons/hicolor/48x48/mimetypes
mime_icon48.files = resources/icons/kiwix/application-org.kiwix.desktop.x-zim.png
mime_icon48.files = resources/icons/48/kiwix/org.kiwix.desktop.x-zim.png
INSTALLS += mime_icon48
mime_file.path = $$PREFIX/share/mime/packages/

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -7,6 +7,7 @@
</magic>
<glob pattern="*.zim"/>
<glob pattern="*.zimaa"/>
<icon name="org.kiwix.desktop.x-zim"/>
</mime-type>
</mime-info>