feat: check config when change core

This commit is contained in:
GyDi committed 2022-11-21 22:27:55 +08:00
1 parent 346c964419
commit 8eb88a161a
1 file changed
+2
+2
View File
@@ -210,6 +210,8 @@ impl CoreManager {
Config::verge().draft().clash_core = Some(clash_core);
self.check_config()?;
// 清掉旧日志
Logger::global().clear_log();