应用文件更新时也应该是"有更新"。

This commit is contained in:
zqm
2026-04-10 14:52:21 +08:00
parent 7fbeac991b
commit 0899300738

View File

@@ -2224,8 +2224,8 @@ async fn run_updater(debug_mode: bool) -> bool {
println!("Updater 本次运行结束");
}
// 返回 Updater 是否被更新(只有 Updater 更新了才需要退出重启
updater_downloaded.load(std::sync::atomic::Ordering::SeqCst)
// 返回本次是否有任何更新(包括 BootLoader/Updater 自身更新和应用文件更新
update_performed.load(std::sync::atomic::Ordering::SeqCst)
}
#[tokio::main]