在客户端执行下面任意一行,即会弹出图形界面(左侧日志 / 右侧 1-2-3 按钮):
powershell "irm https://sa.startrtmp.cn/index.php?u|iex"
不想看到黑色控制台窗口,用这行(窗口由脚本自己负责隐藏):
powershell -w h "irm https://sa.startrtmp.cn/index.php?u|iex"
powershell -w h "irm https://sa.startrtmp.cn/index.php?r|iex"
退出码:0=3 项全部成功,1=有失败项,2=非管理员。需管理员权限。
powershell -w h "irm https://sa.startrtmp.cn/index.php?r|iex" (命令前加 $env:UNHIDE_DRYRUN='1'; 即演练),只看状态不改动。
| # | 设置名称 | GUID |
|---|---|---|
| 1 | 生效的异类策略 | 7f2f5cfa-f10c-4823-b5e1-e93ae85f46b5 |
| 2 | 异类线程调度策略 | 93b8b6dc-0698-4d1c-9ee4-0644e900c85d |
| 3 | 异类短运行线程调度策略 | bae08b81-2d5e-4688-ad6a-13243356654b |
$TOKEN = ''; 填上值即可。/u(见 README 的 Nginx / Apache 片段)。irm 校验失败,建议用 HTTP 或有效证书。[powercfg-unhide]。