diff --git a/pom.xml b/pom.xml index 4c3f897..767afb7 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ info.istlab.IoTP IoTP jar - 0.221 + 0.222 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 90d06c2..1de7fed 100644 --- a/src/main/java/info/istlab/IoTP/App.java +++ b/src/main/java/info/istlab/IoTP/App.java @@ -147,6 +147,7 @@ String com; ProcessBuilder processBuilder; if (App.isWindows){ + pathfile = pathfile.replaceAll("\\\\","\\\\\\\\"); com = "timeout 2 && java -jar " + pathfile; processBuilder = new ProcessBuilder("cmd", "/c", com); } else { diff --git a/src/main/java/info/istlab/IoTP/Launcher.java b/src/main/java/info/istlab/IoTP/Launcher.java index f8992b9..fafa64b 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 { public static Launcher theapp; - public static String version = "0.221"; + public static String version = "0.222"; // JPanel mainP; File root; JTree tree;