Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Jun 21, 2024
1 parent 951479f commit 93087c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

编辑 `info.json` 文件,修改以下字段:

- `id`:插件唯一 id,必须以`[plugin]`开头,例如 `[plugin].com.pot-app.lingva`
- `id`:插件唯一 id,必须以`plugin`开头,例如 `plugin.com.pot-app.lingva`
- `homepage`: 插件主页,填写你的仓库地址即可,例如 `https://github.com/pot-app/pot-app-translate-plugin-template`
- `display`: 插件显示名称,例如 `Lingva`
- `icon`: 插件图标,例如 `lingva.svg`
Expand Down Expand Up @@ -77,7 +77,7 @@ setResult("result");

1.`main.js` 文件和 `info.json` 以及图标文件压缩为 zip 文件。

2. 将文件重命名为`<插件id>.potext`,例如`[plugin].com.pot-app.lingva.potext`,即可得到 pot 需要的插件。
2. 将文件重命名为`<插件id>.potext`,例如`plugin.com.pot-app.lingva.potext`,即可得到 pot 需要的插件。

## 自动编译打包

Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "[plugin].com.pot-app.lingva",
"id": "plugin.com.pot-app.lingva",
"plugin_type": "translate",
"icon": "lingva.svg",
"display": "Lingva",
Expand Down

0 comments on commit 93087c1

Please sign in to comment.