mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Fix error on cli if webroot directory doesnt exist
This commit is contained in:
parent
ef2962febf
commit
f25ebfead3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user