snapcraft mishandles .PNG extension

Bug #1843147 reported by Merlijn Sebrechts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Low
Unassigned

Bug Description

According to https://snapcraft.io/docs/snap-format, the correct extensions for an icon are `.png` and `.svg`.

However, if you use the .PNG extension (all caps), snapcraft still treats it as if it's a valid extension and copies it to /meta/gui/icon.PNG.

If you then change the icon, to an svg file for example, and re-run snapcraft, it will not remove the `icon.PNG` file, instead /meta/gui/icon.svg and /meta/gui/icon.PNG will now both exist.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.