dsh-quark 0.1.0 → 0.1.1
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 +13 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,9 +116,19 @@ node <DSH_HOME>/skills/quarkclouddrive/scripts/quark-drive.cjs get-user-info
|
|
|
116
116
|
|
|
117
117
|
## 安装插件
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
**方式一:从 npm 装(推荐)**
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
插件已发布到 npm,包名就是 `dsh-quark`:
|
|
122
|
+
|
|
123
|
+
```js
|
|
124
|
+
plugin_manager({ action: 'install_bundle', target: 'dsh-quark' })
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
更简单的办法是打开插件页「添加插件」,在「包名或地址」里填 `dsh-quark` 直接装。这种装法依赖写成版本号,升级跟着 `npm update` 走,不用管 GitHub 通不通。
|
|
128
|
+
|
|
129
|
+
**方式二:直接装打包好的 tgz**
|
|
130
|
+
|
|
131
|
+
如果 npm 装不上(网络、镜像问题),让 agent 执行:
|
|
122
132
|
|
|
123
133
|
```js
|
|
124
134
|
plugin_manager({
|
|
@@ -135,7 +145,7 @@ https://github.com/Bennie96/dsh-quark/releases/download/v0.1.0/dsh-quark.tgz
|
|
|
135
145
|
|
|
136
146
|
这种装法把依赖写成一条 URL,和 `dsh-ima` 等插件的安装形态一致。
|
|
137
147
|
|
|
138
|
-
|
|
148
|
+
**方式三:clone 仓库后装本地目录**
|
|
139
149
|
|
|
140
150
|
```bash
|
|
141
151
|
git clone https://github.com/Bennie96/dsh-quark.git ~/dsh-quark
|