mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-12-03 10:50:22 +08:00
修复:改用共享 /api Fetch 路由注册插件 RPC,兼容无 webServer 注入的 Connection(v0.2.11)
This commit is contained in:
1 parent
ae6c7663fe
commit
849fc35ac5
12 files changed
+266
-46
No files matched your search
+3
-10
@@ -92,19 +92,12 @@ DSH のセクション名(`deployment:persona-prefix`、`plan:policy`、`tools
|
||||
|
||||
## インストールと更新
|
||||
|
||||
Desktop `0.2.1-rc.5` または公式タグ `dsh-v0.2.2-rc.3` を使う場合は、対象プロファイルの `cordis.patch.yml` にある `connection` 行の既存設定を保持し、次の依存関係を追加してください。
|
||||
|
||||
```yaml
|
||||
- id: connection
|
||||
inject: [webStartup, webServer]
|
||||
```
|
||||
|
||||
```sh
|
||||
# DSH Web へのインストール
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
|
||||
# DSH Desktop へのインストール
|
||||
dsh plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
dsh plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
```
|
||||
|
||||
インストール後に `dsh web` または DSH Desktop を再起動し、下記の[使い方](#使い方)に従って有効化します。
|
||||
@@ -115,7 +108,7 @@ dsh plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
|
||||
```sh
|
||||
dsh plugin --profile web remove dsh-unrestricted
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
```
|
||||
|
||||
更新後に `dsh web` または DSH Desktop を再起動します。
|
||||
|
||||
Reference in new issue
Block a user