mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-12-03 18: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 @@ The toggle state is saved in the profile's `cordis.patch.yml` and takes effect o
|
||||
|
||||
## Installation & Updates
|
||||
|
||||
For Desktop `0.2.1-rc.5` or the official `dsh-v0.2.2-rc.3` tag, add these dependencies to the `connection` entry in the profile’s `cordis.patch.yml`, preserving any existing configuration.
|
||||
|
||||
```yaml
|
||||
- id: connection
|
||||
inject: [webStartup, webServer]
|
||||
```
|
||||
|
||||
```sh
|
||||
# Install on 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
|
||||
|
||||
# Install on 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
|
||||
```
|
||||
|
||||
Restart `dsh web` or DSH Desktop after installing, then follow [Usage](#usage) to enable it.
|
||||
@@ -115,7 +108,7 @@ Use the update controls in DSH’s built-in plugin manager, or the CLI commands
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
Restart `dsh web` or DSH Desktop.
|
||||
|
||||
Reference in new issue
Block a user