发布插件

指向仓库即可 — 商店会从你的 manifest.json 读取名称、图标、语言和版本。每个新发布都会自动成为更新。

  1. 1

    让插件符合 Ulanzi 的格式

    采用官方 SDK 的结构 — 一个以 .ulanziPlugin 结尾的文件夹:

    com.you.myplugin.ulanziPlugin/
    ├─ manifest.json        # name, version, icon, actions
    ├─ resources/icon.png   # plugin icon (square PNG)
    ├─ en.json  pt_BR.json  # languages (optional)
    └─ plugin/app.js        # your code
  2. 2

    在 GitHub 发布 Release

    附件必须是打包的文件夹,且同名

    Release v1.0.0
    └─ com.you.myplugin.ulanziPlugin.zip   ✅

    💡 商店模板自带一个 GitHub Action,每次 git tag 都会打包并创建 release。

  3. 3

    让商店页面更出彩 可选

    在仓库根目录放一个 store.json 可添加封面和截图。没有它时,商店会使用 manifest 的描述。

    {
      "cover": "resources/cover.png",
      "screenshots": ["resources/shot1.png", "resources/shot2.png"],
      "longDescription": "What your plugin does, in a line or two.",
      "deviceTypes": ["deck", "dial"],
      "tags": ["productivity"]
    }

    封面 16:9(例如 1600×900)。路径相对于仓库根目录。

  4. 4

    在 registry 提交 PR

    创建一个文件,只写你的仓库,然后提交 Pull Request:

    registry/plugins/you__myplugin.json
    { "repo": "you/myplugin" }

    文件名 = owner__repo.json(把 / 换成 __)。合并后,你的插件就会出现在商店里。✨

在 GitHub 打开 registry

想在提交前测试?在 Helper 中打开开发者模式,直接从你的仓库安装。