mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: unable to switch subscribtion profile
This commit is contained in:
@@ -378,10 +378,10 @@ impl CoreManager {
|
||||
logging!(info, Type::Config, true, "开始更新配置");
|
||||
|
||||
// 1. 先生成新的配置内容
|
||||
// logging!(info, Type::Config, true, "生成新的配置内容");
|
||||
// Config::generate().await?;
|
||||
logging!(info, Type::Config, true, "生成新的配置内容");
|
||||
Config::generate().await?;
|
||||
|
||||
// 3. 验证配置
|
||||
// 2. 验证配置
|
||||
match self.validate_config().await {
|
||||
Ok((true, _)) => {
|
||||
logging!(info, Type::Config, true, "配置验证通过");
|
||||
|
||||
Reference in New Issue
Block a user