mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34: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) {
|
||||
if (!profileName.isDirectory) 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()
|
||||
ignoreAll { Files.move(type.toPath(), target.toPath()) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user