diff --git a/pom.xml b/pom.xml index 88cade3..a3c378d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ info.istlab.IoTP IoTP jar - 0.227 + 0.228 IoTP http://maven.apache.org diff --git a/src/main/java/info/istlab/IoTP/App.java b/src/main/java/info/istlab/IoTP/App.java index 9e338d1..3de783f 100644 --- a/src/main/java/info/istlab/IoTP/App.java +++ b/src/main/java/info/istlab/IoTP/App.java @@ -148,7 +148,7 @@ ProcessBuilder processBuilder; if (App.isWindows){ pathfile = pathfile.replaceAll("\\\\","\\\\\\\\"); - com = "timeout 1 && java -jar " + new File(pathfile).getName(); + com = "java -jar " + new File(pathfile).getName(); processBuilder = new ProcessBuilder("cmd", "/c", com); } else { com = "sleep 1 ; java -jar " + pathfile; diff --git a/src/main/java/info/istlab/IoTP/Launcher.java b/src/main/java/info/istlab/IoTP/Launcher.java index 783b910..008fe91 100644 --- a/src/main/java/info/istlab/IoTP/Launcher.java +++ b/src/main/java/info/istlab/IoTP/Launcher.java @@ -26,7 +26,7 @@ public class Launcher extends JFrame implements MouseInputListener, KeyListener, Runnable { public static Launcher theapp; - public static String version = "0.227"; + public static String version = "0.228"; static int reboot_msec = 3000; // JPanel mainP; File root;