mirror of
https://github.com/alterware/alterware-launcher.git
synced 2026-12-03 12:18:39 +00:00
pwettify comfig file :3
This commit is contained in:
1 parent
ce18aea5aa
commit
d50f3b83e9
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ pub fn load(config_path: PathBuf) -> Config {
|
||||
}
|
||||
|
||||
pub fn save(config_path: PathBuf, config: Config) {
|
||||
fs::write(config_path, serde_json::to_string(&config).unwrap()).unwrap();
|
||||
fs::write(config_path, serde_json::to_string_pretty(&config).unwrap()).unwrap();
|
||||
}
|
||||
|
||||
pub fn save_value(config_path: PathBuf, key: &str, value: bool) {
|
||||
|
||||
Reference in new issue
Block a user