我一直在尝试content通过一个简单的例子来使界面正常工作。
消费者:
name: consumer # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
consumer:
command: ls -lR /snap/consumer/current/
parts:
my-part:
# See 'snapcraft plugins'
plugin: nil
plugs:
shared-files:
content: …Run Code Online (Sandbox Code Playgroud) snap ×1