Prep for data/tile-packs
This commit is contained in:
parent
889825b371
commit
f8d93e96ab
1 changed files with 2 additions and 0 deletions
|
@ -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) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue