Save the enabledFeatures map
This commit is contained in:
parent
0427c2bce0
commit
548bf472ba
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue