Add checks to rename configs if required

This commit is contained in:
Luke D. Jones
2023-01-08 22:00:32 +13:00
parent ab3007d53d
commit 9cc62d63c9
7 changed files with 125 additions and 59 deletions

View File

@@ -108,7 +108,7 @@ impl StdConfig for ConfigAnime {
}
fn file_name(&self) -> String {
format!("{}.cfg", self.name)
format!("{}.ron", self.name)
}
fn config_dir() -> std::path::PathBuf {
@@ -180,7 +180,7 @@ impl StdConfig for ConfigAura {
}
fn file_name(&self) -> String {
format!("{}.cfg", self.name)
format!("{}.ron", self.name)
}
fn config_dir() -> std::path::PathBuf {
@@ -208,7 +208,7 @@ impl StdConfig for ConfigBase {
}
fn file_name(&self) -> String {
"rog-user.cfg".to_owned()
"rog-user.ron".to_owned()
}
fn config_dir() -> std::path::PathBuf {