diff --git a/src-tauri/src/enhance/mod.rs b/src-tauri/src/enhance/mod.rs index 5371424..fd4dbaf 100644 --- a/src-tauri/src/enhance/mod.rs +++ b/src-tauri/src/enhance/mod.rs @@ -66,6 +66,7 @@ pub fn enhance() -> (Mapping, Vec, HashMap) { match use_script(script, config.to_owned()) { Ok((res_config, res_logs)) => { exists_keys.extend(use_keys(&res_config)); + config = res_config; logs.extend(res_logs); } Err(err) => logs.push(("exception".into(), err.to_string())),