fix: regenerate config before change core

This commit is contained in:
GyDi committed 2022-11-23 09:57:21 +08:00
1 parent 7870147c16
commit 8e3ff7670b
1 file changed
+3
+3
View File
@@ -222,6 +222,9 @@ impl CoreManager {
Config::verge().draft().clash_core = Some(clash_core);
// 更新配置
Config::generate()?;
self.check_config()?;
// 清掉旧日志