dsh-theme-mineradio 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/README.zh.md +10 -2
- package/lib/client.js +1120 -738
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,10 +50,18 @@ Pin a version or track the dev branch:
|
|
|
50
50
|
.\install.ps1 -Version 'main' # the development branch
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### Plugin market / npm (recommended)
|
|
54
54
|
|
|
55
55
|
```powershell
|
|
56
|
-
dsh plugin --profile web add
|
|
56
|
+
dsh plugin --profile web add dsh-theme-mineradio
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Or search **dsh-theme-mineradio** in Settings → Plugin market. That installs the prebuilt npm package (`lib/` already bundled). There is **no** `prepare` / `postinstall` script.
|
|
60
|
+
|
|
61
|
+
Do not install with `github:dhicoc/dsh-theme-mineradio` or `dsh plugin add https://github.com/dhicoc/dsh-theme-mineradio`. A git / tarball spec makes pnpm block "build scripts", and market updates then fail. If you already have the git spec, switch to npm:
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
dsh plugin --profile web add dsh-theme-mineradio@latest
|
|
57
65
|
```
|
|
58
66
|
|
|
59
67
|
The `dsh.bundle` manifest registers `ui-mineradio` automatically, so no manual patch is needed. (The installer adds this equivalent entry for source installs:)
|
package/README.zh.md
CHANGED
|
@@ -50,10 +50,18 @@ powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.c
|
|
|
50
50
|
.\install.ps1 -Version 'main' # 开发分支
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
###
|
|
53
|
+
### 插件市场 / npm(推荐)
|
|
54
54
|
|
|
55
55
|
```powershell
|
|
56
|
-
dsh plugin --profile web add
|
|
56
|
+
dsh plugin --profile web add dsh-theme-mineradio
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
或在设置 → 插件市场搜索 **dsh-theme-mineradio**。装的是 npm 上的预构建包(`lib/` 已打好),**没有** `prepare` / `postinstall`。
|
|
60
|
+
|
|
61
|
+
不要写成 `github:dhicoc/dsh-theme-mineradio` 或 `dsh plugin add https://github.com/dhicoc/dsh-theme-mineradio`。git / tarball 源会让 pnpm 拦「构建脚本」,市场更新也会失败。已经是 git 源的,改成 npm 即可:
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
dsh plugin --profile web add dsh-theme-mineradio@latest
|
|
57
65
|
```
|
|
58
66
|
|
|
59
67
|
`dsh.bundle` manifest 会自动注册 `ui-mineradio`,无需手动补丁。(安装脚本对源码安装会写入这条等价条目:)
|