Update profile.rs (#4408)
Co-authored-by: ONEUI-7 <150009830+ONEUI-7@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b53a7bd99
commit
95c34f1df5
@@ -136,6 +136,9 @@ pub async fn update_profile(
|
||||
Ok(_) => {
|
||||
logging!(info, Type::Config, true, "[订阅更新] 更新成功");
|
||||
handle::Handle::refresh_clash();
|
||||
if let Err(err) = cmd::proxy::force_refresh_proxies().await {
|
||||
logging!(error, Type::Config, true, "[订阅更新] 代理组刷新失败: {}", err);
|
||||
}
|
||||
}
|
||||
Err(err) => {
|
||||
logging!(error, Type::Config, true, "[订阅更新] 更新失败: {}", err);
|
||||
|
||||
Reference in New Issue
Block a user