From 0899300738d6a79698892fe4a531e22b450f9fd4 Mon Sep 17 00:00:00 2001 From: zqm Date: Fri, 10 Apr 2026 14:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E6=96=87=E4=BB=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=97=B6=E4=B9=9F=E5=BA=94=E8=AF=A5=E6=98=AF"?= =?UTF-8?q?=E6=9C=89=E6=9B=B4=E6=96=B0"=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windows/CS/Framework4.0/Updater/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Windows/CS/Framework4.0/Updater/src/main.rs b/Windows/CS/Framework4.0/Updater/src/main.rs index b5f7f09..03f4ab5 100644 --- a/Windows/CS/Framework4.0/Updater/src/main.rs +++ b/Windows/CS/Framework4.0/Updater/src/main.rs @@ -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]