Adding "icon" filed in the snapcraft.yaml template to define a package icon
Bug #1662034 reported by
XiaoGuo, Liu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, if I use "snapcraft init", it generates a template snapcraft.yaml for developers to start with. However, it misses "icon" field in the file, which is not so obvious to developers if a package icon is needed for making it different in the ubuntu store. Currently, a lot of snap apps just show a default icon which makes them look the same. It would be nice for each of them having a dedicated icon in the Ubuntu Store.
In the template, it would be good to have the icon field defined like:
icon: xxx.png/svg
so that developers know where to customize the snap package icon. They can easily design their own icon and replace it with their own.
Thanks & best regards,
XiaoGuo
To post a comment you must log in.
I disagree with this, for two reasons:
1) The output from `snapcraft init` is intended to successfully create a snap, which means an icon would actually need to be generated.
2) Since an icon would need to be generated, it would likely become the "default icon" for snaps that don't have one, which defeats the purpose.
I'm not against putting a commented-out icon in the template though if we're worried about people not realizing that's an option. But if we're going to go that route, perhaps we should show a commented-out apps entry as well, etc.