fix: regenerate config before change core
This commit is contained in:
parent
e031389021
commit
f477cecdeb
1 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,9 @@ impl CoreManager {
|
|||
|
||||
Config::verge().draft().clash_core = Some(clash_core);
|
||||
|
||||
// 更新配置
|
||||
Config::generate()?;
|
||||
|
||||
self.check_config()?;
|
||||
|
||||
// 清掉旧日志
|
||||
|
|
Loading…
Add table
Reference in a new issue