Delay launch by 2 seconds to make sure that router.ping is written before trying to launch a browser when a router is already running

This commit is contained in:
idk
2022-08-21 11:31:23 -04:00
parent a7eba5f5ae
commit 66e93709ca

View File

@ -45,6 +45,7 @@ public class WinLauncher {
fh.setFormatter(formatter);
// the following statement is used to log any messages
logger.info("My first log");
sleep(2000);
} catch (SecurityException e) {
e.printStackTrace();
} catch (IOException e) {