[feat] template works but cannot edit value by clicking

This commit is contained in:
Purp1e
2025-03-27 16:11:42 +08:00
parent 63172f12bc
commit a10cf8eddf
3 changed files with 31 additions and 39 deletions

View File

@@ -228,7 +228,7 @@ pub fn parse_local_users(steam_dir: &str) -> Result<Vec<LocalUser>> {
let kv: HashMap<String, Value> = serde_json::from_str(&json_data)?;
// 剥离顶层 UserLocalConfigStore
let kv = kv.get("UserLocalConfigStore").and_then(|v| v.as_object()).unwrap();
// let kv = kv.get("UserLocalConfigStore").and_then(|v| v.as_object()).unwrap();
// 获取 friends 节点
let friends = kv.get("friends").and_then(|v| v.as_object());