From c6354966771dff00791395916c38ad1cfd3e7746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 16 Mar 2025 15:57:27 +0800 Subject: [PATCH] fix: msf Status --- src/shell/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/base.ts b/src/shell/base.ts index a6887028..b6381477 100644 --- a/src/shell/base.ts +++ b/src/shell/base.ts @@ -289,7 +289,7 @@ async function waitForNetworkConnection(loginService: NodeIKernelLoginService, l let network_ok = false; let tryCount = 0; while (!network_ok) { - network_ok = loginService.getMsfStatus() === 0; + network_ok = loginService.getMsfStatus() !== 3;// win 11 0连接 1未连接 logger.log('等待网络连接...'); await sleep(500); tryCount++;