This commit is contained in:
Stephan Richter
2020-11-14 17:16:41 +01:00
parent 24c19cf81a
commit eb76efe2e0
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.srsoftware</groupId>
<artifactId>web4rail</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<name>Web4Rail</name>
<packaging>jar</packaging>
<description>Java Model Railway Control</description>

View File

@@ -71,7 +71,6 @@ public class Application extends BaseClass{
} catch (FileNotFoundException e) {
plan = new Plan();
}
Desktop.getDesktop().browse(URI.create("http://"+InetAddress.getLocalHost().getHostName()+":"+config.getInt(PORT)+"/plan"));
for (String arg : args) {
switch (arg) {
case START_TRAINS:
@@ -79,6 +78,7 @@ public class Application extends BaseClass{
break;
}
}
Desktop.getDesktop().browse(URI.create("http://"+InetAddress.getLocalHost().getHostName()+":"+config.getInt(PORT)+"/plan"));
}
/**