Adding default icon file into the snapcraft template yaml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, when I use the ubuntu core store by entering <ip_address>:4200, I see a lot of listed snap apps without their customized icon in the apps. Although snaps running in a screen-less device may not need the app icon, it is useful to have an recognized icon for a specific application.
Some developers may not know how to create an icon for their snaps.I have found the solution in the article at https:/
I personally think a best solution is to create the "setup/gui" directory and put a default ubuntu icon there when using "snapcraft init" to create a template yaml file. If a developer later on wants to change a new one, it would be easy to replace it with his/her own. As such, a developer does not need to search for a solution on how to create his/her own app specific icon.
Also, I have made a PR to remove the following line
icon (string) Path to the icon that will be used for the snap.
at http://
Thanks & best regards,
XiaoGuo
The solution actually belongs in the store as the default icon can change with time.