Save the enabledFeatures map

This commit is contained in:
Username404-59 2021-05-03 20:45:18 +02:00
parent 0427c2bce0
commit 548bf472ba
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import com.typesafe.config.Config
import com.typesafe.config.ConfigException import com.typesafe.config.ConfigException
import com.typesafe.config.ConfigFactory.* import com.typesafe.config.ConfigFactory.*
import com.typesafe.config.ConfigRenderOptions import com.typesafe.config.ConfigRenderOptions
import com.typesafe.config.ConfigValueFactory
import fr.username404.snowygui.ClickGui import fr.username404.snowygui.ClickGui
import fr.username404.snowygui.Snowy import fr.username404.snowygui.Snowy
import io.github.config4k.extract import io.github.config4k.extract
@ -75,7 +76,7 @@ object Configuration {
} }
) )
} }
writeConfig(obtained).join() writeConfig(obtained.withValue("enabledFeatures", ConfigValueFactory.fromMap(enabledFeatures))).join() // TODO Fix formatting of enabledFeatures
} }
} }
) )