fix: regenerate config before change core
This commit is contained in:
parent
e031389021
commit
f477cecdeb
@ -222,6 +222,9 @@ impl CoreManager {
|
|||||||
|
|
||||||
Config::verge().draft().clash_core = Some(clash_core);
|
Config::verge().draft().clash_core = Some(clash_core);
|
||||||
|
|
||||||
|
// 更新配置
|
||||||
|
Config::generate()?;
|
||||||
|
|
||||||
self.check_config()?;
|
self.check_config()?;
|
||||||
|
|
||||||
// 清掉旧日志
|
// 清掉旧日志
|
||||||
|
Loading…
Reference in New Issue
Block a user