dsh-quick-restart 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +9 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,26 +16,22 @@ DSH 的第三方插件改了代码之后,默认要**完全退出再打开**才
16
16
 
17
17
  ## 安装
18
18
 
19
- ### 方式一:从 GitHub Release 装(已发布)
19
+ **方式一:DSH 插件市场**(推荐)
20
20
 
21
- ```
22
- https://github.com/a994903574/dsh-quick-restart/releases/download/v0.1.1/dsh-quick-restart-0.1.1.tgz
23
- ```
21
+ 设置 → 插件 → 搜索 `dsh-quick-restart` → 安装 → **完全退出 DSH 再打开**(按钮要宿主启动时注入,刷新页面没用)。
24
22
 
25
- 把这个地址填进 DSH 的插件安装入口即可(和装其它第三方插件一样)。
23
+ **方式二:命令行 / 直链**
26
24
 
27
- ### 方式二:从 npm 市场装(尚未发布,等账号开通)
28
-
29
- DSH 设置页 →「插件」→ 搜索 `dsh-quick-restart` → 安装 → **完全退出 DSH 再打开**(首次必须,按钮要用宿主启动时的注入表)。
25
+ ```bash
26
+ npm i dsh-quick-restart
27
+ ```
30
28
 
31
- 或者手动:
29
+ 或把下面这个地址填进 DSH 的插件安装入口:
32
30
 
33
- ```bash
34
- cd <你的 DSH profile 目录>
35
- pnpm add dsh-quick-restart
31
+ ```
32
+ https://registry.npmjs.org/dsh-quick-restart/-/dsh-quick-restart-0.1.2.tgz
36
33
  ```
37
34
 
38
- 并在 profile 的 `package.json` 里把它加进 `dsh.profile.bundles`。
39
35
 
40
36
  ## 用起来什么效果
41
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-quick-restart",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "DeepSeek Harness 插件:标题栏加两个按钮——重载第三方插件(不用重启宿主)、重启 DSH。",
6
6
  "keywords": [