setup/gui should now be placed in
introduced in snapcraft 2.26
Originally snapcraft had the idea of putting all fixed assets inside a
setup directory, this was introduced with the capability of adding GUI assets such as desktop files and package icons.
With the introduction of the
snap directory, the
setup directory becomes superfluous and has been deprecated in favor of putting GUI assets in
snap/gui instead of
To move to the new schema, all you need to do is:
$ mkdir -p snap $ mv setup/gui snap/
And if empty:
$ rmdir setup
…and apply those changes to your VCS if you are using one.
See Deprecation notices for further announcements.
Last updated 1 year, 8 months ago. Help improve this document in the forum.