From 349bfc82fbb483125f075a55863ede1cb8dd26bb Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Tue, 8 Jan 2019 18:03:28 +0400 Subject: [PATCH] Last exc fix. --- .../src/main/java/ru/gravit/launchserver/LaunchServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 9c966a20..76b7e832 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -327,6 +327,7 @@ public static void main(String... args) throws Throwable { public LaunchServer(Path dir, String[] args) throws IOException, InvalidKeySpecException { this.dir = dir; + Files.createDirectories(dir); this.args = Arrays.asList(args); configFile = dir.resolve("LaunchServer.conf"); publicKeyFile = dir.resolve("public.key");