Skip to content

Commit 36c4fae

Browse files
committed
🎨 Add plugin config items backends and frontends siyuan-note/siyuan#8386
1 parent e0ab7f0 commit 36c4fae

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ conveniently.
4848
"version": "0.0.1",
4949
"minAppVersion": "2.9.0",
5050
"backends": ["windows", "linux", "darwin"],
51-
"frontends": ["desktop", "browser-desktop"],
51+
"frontends": ["desktop"],
5252
"displayName": {
5353
"default": "Plugin Sample",
5454
"zh_CN": "插件示例"
@@ -78,8 +78,8 @@ conveniently.
7878
* `url`: Plugin repo URL
7979
* `version`: Plugin version number, it is recommended to follow the [semver](https://semver.org/) specification
8080
* `minAppVersion`: Minimum version number of SiYuan required to use this plugin
81-
* `backends`: Backend environment required by the plugin, optional values are `all`, `windows`, `linux`, `darwin`, `android` and `ios`
82-
* `frontends`: Frontend environment required by the plugin, optional values are `all`, `desktop`, `desktop-window`, `mobile`, `browser-desktop`, `browser-mobile`
81+
* `backends`: Backend environment required by the plugin, optional values are `windows`, `linux`, `darwin`, `docker`, `android`, `ios` and `all`
82+
* `frontends`: Frontend environment required by the plugin, optional values are `desktop`, `desktop-window`, `mobile`, `browser-desktop`, `browser-mobile` and `all`
8383
* `displayName`: Template display name, mainly used for display in the marketplace list, supports multiple languages
8484
* `default`: Default language, must exist
8585
* `zh_CN`, `en_US` and other languages: optional, it is recommended to provide at least Chinese and English

README_zh_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"version": "0.0.1",
4444
"minAppVersion": "2.9.0",
4545
"backends": ["windows", "linux", "darwin"],
46-
"frontends": ["desktop", "browser-desktop"],
46+
"frontends": ["desktop"],
4747
"displayName": {
4848
"default": "Plugin Sample",
4949
"zh_CN": "插件示例"
@@ -72,8 +72,8 @@
7272
* `url`:插件仓库地址
7373
* `version`:插件版本号,建议遵循 [semver](https://semver.org/lang/zh-CN/) 规范
7474
* `minAppVersion`:插件支持的最低思源笔记版本号
75-
* `backends`:插件需要的后端环境,可选值为 `all`, `windows`, `linux`, `darwin`, `docker`, `android` and `ios`
76-
* `frontends`:插件需要的前端环境,可选值为 `all`, `desktop`, `desktop-window`, `mobile`, `browser-desktop`, `browser-mobile`
75+
* `backends`:插件需要的后端环境,可选值为 `windows`, `linux`, `darwin`, `docker`, `android`, `ios` and `all`
76+
* `frontends`:插件需要的前端环境,可选值为 `desktop`, `desktop-window`, `mobile`, `browser-desktop`, `browser-mobile` and `all`
7777
* `displayName`:模板显示名称,主要用于模板集市列表中显示,支持多语言
7878
* `default`:默认语言,必须存在
7979
* `zh_CN``en_US` 等其他语言:可选,建议至少提供中文和英文

plugin.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "plugin-sample",
33
"author": "Vanessa",
44
"url": "https://github.com/siyuan-note/plugin-sample",
5-
"version": "0.0.8",
6-
"minAppVersion": "2.9.0",
5+
"version": "0.0.9",
6+
"minAppVersion": "2.8.8",
77
"backends": ["windows", "linux", "darwin"],
8-
"frontends": ["desktop", "browser-desktop"],
8+
"frontends": ["desktop"],
99
"displayName": {
1010
"default": "Plugin Sample",
1111
"zh_CN": "插件示例"

0 commit comments

Comments
 (0)