fix: msf Status
This commit is contained in:
1 parent
26ca6d15fe
commit
c1bc7014cd
1 file changed
+1
-1
+1
-1
@@ -289,7 +289,7 @@ async function waitForNetworkConnection(loginService: NodeIKernelLoginService, l
|
|||||||
let network_ok = false;
|
let network_ok = false;
|
||||||
let tryCount = 0;
|
let tryCount = 0;
|
||||||
while (!network_ok) {
|
while (!network_ok) {
|
||||||
network_ok = loginService.getMsfStatus() === 0;
|
network_ok = loginService.getMsfStatus() !== 3;// win 11 0连接 1未连接
|
||||||
logger.log('等待网络连接...');
|
logger.log('等待网络连接...');
|
||||||
await sleep(500);
|
await sleep(500);
|
||||||
tryCount++;
|
tryCount++;
|
||||||
|
|||||||
Reference in new issue
Block a user