docs: note install.ps1 is irm|iex compatible
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,8 +37,7 @@ Telegram **手机遥控器** for DeepSeek Harness:附着本机正在跑的 Web
|
||||
irm https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/install.ps1 | iex
|
||||
```
|
||||
|
||||
> `install.ps1` 是引导脚本(兼容 `irm | iex`),会再下载并运行真正的菜单 `manage.ps1`。
|
||||
> 不要直接 `irm .../manage.ps1 | iex`(带 `param` 会报错)。
|
||||
> 脚本已兼容 `irm | iex`(菜单逻辑包在 scriptblock 里)。CMD 请用下面整行。
|
||||
|
||||
**CMD 一键:**
|
||||
|
||||
@@ -49,7 +48,7 @@ powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubus
|
||||
备用(先下载再执行):
|
||||
|
||||
```bat
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -UseBasicParsing https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/manage.ps1 -OutFile $env:TEMP\dsh-tg.ps1; & $env:TEMP\dsh-tg.ps1"
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -UseBasicParsing https://raw.githubusercontent.com/hi-wenw/dsh-telegram-channel/master/scripts/install.ps1 -OutFile $env:TEMP\dsh-tg.ps1; & $env:TEMP\dsh-tg.ps1"
|
||||
```
|
||||
|
||||
启动后用**数字**选择:
|
||||
|
||||
Reference in New Issue
Block a user