feat: add function to set osu! user config values
This commit is contained in:
1 parent
8f92af0a87
commit
cfb0851065
2 files changed
+50
-1
No files matched your search
@@ -196,7 +196,7 @@ pub fn get_osu_version(folder: String) -> String {
|
||||
let osu_user_config = get_osu_user_config(path.clone());
|
||||
return osu_user_config
|
||||
.and_then(|config| config.get("LastVersion").cloned())
|
||||
.unwrap_or_else(|| "failed.".to_string());
|
||||
.unwrap_or_else(|| "failed".to_string());
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in new issue
Block a user