only generate configs if they don't exist yet
All checks were successful
Publish to snapshot maven / build (push) Successful in 17s

This commit is contained in:
moehreag 2024-05-18 13:13:34 +02:00
parent 971aaf1103
commit f7aaae41b3

View file

@ -30,10 +30,10 @@ object RunConfigGenerator {
val envs = listOf("client", "server")
for (s in envs) {
val name = "Minecraft_${capitalize(s)}.xml"
//if (!runConfigPath.resolve(name).exists()) {
if (!runConfigPath.resolve(name).exists()) {
val config = RunConfig(s, project)
runConfigPath.resolve(name).writeText(config.getXml())
//}
}
}
}
}