更新 'SrcJyPublic.js'

master
src48597962 2 months ago
parent 24522d4432
commit 7c36ca6e56
  1. 5
      SrcJyPublic.js

@ -121,11 +121,12 @@ function checkBoxUrl(input) {
if(!isRunning){ if(!isRunning){
$.require('hiker://page/thirdstart?rule=nodejs').start(nodejsID); $.require('hiker://page/thirdstart?rule=nodejs').start(nodejsID);
let c = 0; let c = 0;
while (c<10) { while (c<30) {
java.lang.Thread.sleep(1000); java.lang.Thread.sleep(1000);
c++; c++;
if($.require('hiker://page/thirdstart?rule=nodejs').isRunning(nodejsID)){ if($.require('hiker://page/thirdstart?rule=nodejs').isRunning(nodejsID)){
c = 10; log('服务启动了');
c = 30;
} }
} }
} }

Loading…
Cancel
Save