Update profile.rs (#4408)

Co-authored-by: ONEUI-7 <150009830+ONEUI-7@users.noreply.github.com>
This commit is contained in:
ONEUI8 2025-08-16 15:42:21 +08:00 committed by GitHub
parent 8b53a7bd99
commit 95c34f1df5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);