From f25ebfead38f7c9893bdbc720883064bfbc80d07 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 --- .../main/java/de/bluecolored/bluemap/common/WebFilesManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java b/common/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java index 54051aee..59b9064e 100644 --- a/common/src/main/java/de/bluecolored/bluemap/common/WebFilesManager.java +++ b/common/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