feat: check config when change core
This commit is contained in:
parent
b3c1c56579
commit
48e14b36b8
@ -210,6 +210,8 @@ impl CoreManager {
|
||||
|
||||
Config::verge().draft().clash_core = Some(clash_core);
|
||||
|
||||
self.check_config()?;
|
||||
|
||||
// 清掉旧日志
|
||||
Logger::global().clear_log();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user