Commit c328f91
Fix some ICO files not converting to PNG
Some ICO files are incorrectly identified as TARGA by libmagic file
utility, used to obtain the MIME type of the extracted icon from the
executable while creating a desktop entry using dynamic launcher portal.
They are then assumed to be already PNG, and therefore are not correctly
converted, which results in failure to validate the icon by the portal.
While this is a libmagic bug, workaround it by assuming that
"image/x-tga" MIME type also indicates ICO files.
See https://bugs.astron.com/view.php?id=723
Helps: #44021 parent eefb780 commit c328f91
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
0 commit comments