From 46d8af509c52e53304887944952f6b080c562ed7 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 2 May 2020 18:19:50 +0100 Subject: [PATCH] Create bundler output directory if it doesn't exist Signed-off-by: Graham --- bundler/src/main/java/dev/openrs2/bundler/Bundler.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt b/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt index 9ae5cc4854..998da1e712 100644 --- a/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt +++ b/bundler/src/main/java/dev/openrs2/bundler/Bundler.kt @@ -108,6 +108,8 @@ class Bundler @Inject constructor( // write all resources to disk logger.info { "Writing resources" } + Files.createDirectories(output) + val resources = listOf( unpackerJar, clientPack,