From e354f4319a25a49b002ab1645b84a5ac6bbd4809 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sun, 15 Sep 2024 09:47:31 +0200 Subject: [PATCH] Fix error on cli if webroot directory doesnt exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ※ f25ebfead38f7c9893bdbc720883064bfbc80d07 --- .../main/java/de/bluecolored/bluemap/common/WebFilesManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java index 54051aee6..59b9064eb 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java @@ -112,6 +112,7 @@ public void updateFiles() throws IOException { if (zippedWebapp == null) throw new IOException("Failed to open bundled webapp."); // extract zip to webroot + Files.createDirectories(webRoot); FileHelper.extractZipFile(zippedWebapp, webRoot, StandardCopyOption.REPLACE_EXISTING); // set version in index.html