setNotRunning before launching the router, counter-intuitively but this is for determining whether we should launch the browser only. The other checks will still work for determining if a router is there. It only needs to be there for the first 21 or so seconds.
This commit is contained in:
@@ -180,7 +180,11 @@ public class WinLauncher {
|
|||||||
File home = selectHome();
|
File home = selectHome();
|
||||||
File running = new File(home, "running");
|
File running = new File(home, "running");
|
||||||
if (!running.exists()){
|
if (!running.exists()){
|
||||||
|
try{
|
||||||
running.createNewFile();
|
running.createNewFile();
|
||||||
|
}catch(IOException e){
|
||||||
|
logger.info(e.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user