小编mof*_*ofo的帖子

无法获得使用 Snapcraft 的基本内容界面示例

我一直在尝试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

2
推荐指数
1
解决办法
1046
查看次数

标签 统计

snap ×1