feat: save some fields in the runtime config, close #292

This commit is contained in:
GyDi
2022-11-24 17:52:25 +08:00
parent 490ba9f140
commit c62dddd5b9
2 changed files with 15 additions and 0 deletions

View File

@@ -183,6 +183,8 @@ pub async fn patch_clash(patch: Mapping) -> Result<()> {
log_err!(handle::Handle::update_systray_part());
}
Config::runtime().latest().patch_config(patch);
<Result<()>>::Ok(())
} {
Ok(()) => {