Files
bettergi-scripts-list/repo/js/AccountSwitchStateMachine/settings.json
mno b69f61d3dd js:带状态机的账号切换 (#2949)
* js:带状态机的账号切换

使用状态机管理账号切换过程中的各种页面
提高流程稳定性并方便管理和新增异常处理
支持自动截图保存,双模式切换账号

* Update main.js

将状态切换需要用到的函数挂载到globalThis,以适配AutoJs作为其中的账号切换工具

* 修复提到的问题

* Update main.js

修复提到的问题

* Update main.js

* Update main.js

* Update main.js
2026-03-04 18:35:10 +08:00

33 lines
813 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"name": "targetUid",
"type": "input-text",
"label": "要切换到的账号UID"
},
{
"name": "account",
"type": "input-text",
"label": "账号(非必要,查找不到账号图片时备用)"
},
{
"name": "password",
"type": "input-text",
"label": "密码(非必要,查找不到账号图片时备用)"
},
{
"name": "skipSearch",
"type": "checkbox",
"label": "勾选后不尝试查找账号图片,直接使用账号密码登录"
},
{
"name": "verifyUid",
"type": "checkbox",
"label": "勾选后在切换前后检查当前账号UID辅助判断切换是否成功"
},
{
"name": "screenshotMode",
"type": "checkbox",
"label": "勾选后进入截图模式自动截图保存对应UID的账号图片"
}
]