make profile startup state-driven

This commit is contained in:
2026-06-29 19:10:33 +08:00
parent 8c21691478
commit f1a755eebe
3 changed files with 40 additions and 3 deletions
+6
View File
@@ -162,6 +162,12 @@ profile env 默认放在:
node ./scripts/run-profile.mjs default
```
如果已经由 state 记录了当前活跃 profile,也可以直接不传 profile 参数:
```bash
node ./scripts/run-profile.mjs --prefer-state-profile
```
## 如何恢复
Windows: