mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
fix build
This commit is contained in:
parent
39717c3144
commit
7127fae3df
@ -65,7 +65,7 @@ object ProfileManagers : DefaultFactory<StorageProfileManager<*>>(
|
|||||||
for (profileName in namespace.listFiles() ?: continue) {
|
for (profileName in namespace.listFiles() ?: continue) {
|
||||||
if (!profileName.isDirectory) continue
|
if (!profileName.isDirectory) continue
|
||||||
for (type in profileName.listFiles() ?: continue) {
|
for (type in profileName.listFiles() ?: continue) {
|
||||||
val target = (RunConfiguration.CONFIG_DIRECTORY / namespace.name / type.name.removeSuffix(".json") / profileName.name + ".json").toFile()
|
val target = (RunConfiguration.CONFIG_DIRECTORY / namespace.name / type.name.removeSuffix(".json") / "${profileName.name}.json").toFile()
|
||||||
target.mkdirParent()
|
target.mkdirParent()
|
||||||
ignoreAll { Files.move(type.toPath(), target.toPath()) }
|
ignoreAll { Files.move(type.toPath(), target.toPath()) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user