Prep for data/tile-packs

This commit is contained in:
nelle 2023-10-29 23:44:16 -06:00
parent 889825b371
commit f8d93e96ab

View file

@ -24,6 +24,8 @@ class Config {
} }
else{ else{
Files.createDirectories(Paths.get("./run")) Files.createDirectories(Paths.get("./run"))
Files.createDirectories(Paths.get("./run/tiles"))
Files.createDirectories(Paths.get("./run/data"))
Files.createFile(Path.of("./run/potrogue.conf")) Files.createFile(Path.of("./run/potrogue.conf"))
FileInputStream(file).use { prop.load(it) } FileInputStream(file).use { prop.load(it) }
} }