last revision inadvertently launched the router console every time the router was started

This commit is contained in:
hypercubus
2004-09-01 11:43:33 +00:00
committed by zzz
parent 6b89996b0b
commit 1323d89912

View File

@ -41,6 +41,8 @@ public class SysTray implements SysTrayMenuListener {
_browserString = _configFile.getProperty("browser", "default"); _browserString = _configFile.getProperty("browser", "default");
_portString = _configFile.getProperty("port", "7657"); _portString = _configFile.getProperty("port", "7657");
if (!(new File("router.config")).exists())
openRouterConsole("http://localhost:" + _portString + "/"); openRouterConsole("http://localhost:" + _portString + "/");
if (System.getProperty("os.name").startsWith("Windows")) if (System.getProperty("os.name").startsWith("Windows"))