Comment 0 for bug 1578231

Revision history for this message
Jamie Bennett (jamiebennett) wrote :

https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/

In the last example snapscraft.yaml file icon: icon.png is listed. This has now been deprecated so the tutorial needs updating.

Instead, the github docs state the following:

Snap icon

Providing an icon for your snap is important, even for command-line applications, if for nothing else than discoverability from management interfaces such as store fronts like webdm.

To use an icon to represent the snap, just drop a PNG or SVG in setup/gui named icon.png for the former or icon.svg for the latter such that the (reduced) project tree would look like:

  setup/gui/icon.png
  snapcraft.yaml

or

  setup/gui/icon.svg
  snapcraft.yaml