mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-20 23:14:28 +08:00
[🛠️ Fix] Unexpected infinite reconn for ACM
This commit is contained in:
@@ -135,8 +135,6 @@
|
||||
);
|
||||
|
||||
aikariWs.onopen = () => {
|
||||
failedCounter = 0;
|
||||
isErrorOccurred = false;
|
||||
callback(true, aikariWs);
|
||||
};
|
||||
|
||||
|
||||
@@ -329,14 +329,14 @@ if (!global.__HUGO_AURA_UI_REACTIVES__.subConfig)
|
||||
if (!isHostNotInit) {
|
||||
global.__HUGO_AURA_UI_FUNCTIONS__.subConfig.aikariStatus.updateToast(
|
||||
"success",
|
||||
"Aikari 已启动",
|
||||
"Aikari 已启动, 将在 2 秒后尝试连接",
|
||||
null,
|
||||
true,
|
||||
true,
|
||||
2000
|
||||
);
|
||||
}
|
||||
await global.__HUGO_AURA_GLOBAL__.utils.sleep(100);
|
||||
await global.__HUGO_AURA_GLOBAL__.utils.sleep(2000);
|
||||
await ipcRenderer.invoke(
|
||||
`${IPC_METHOD_BASE}.retryAikariConnect`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user