From 075844bd3c79b1ab0e22cd9af09178920745b992 Mon Sep 17 00:00:00 2001 From: zqm Date: Fri, 10 Apr 2026 15:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E5=8F=AA=E6=9C=89=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=88=E5=A6=82=20EasyTest=EF=BC=89?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=EF=BC=8Cupdate=5Fperformed=20?= =?UTF-8?q?=E4=B8=BA=20true=EF=BC=8CUpdater=20=E9=94=99=E8=AF=AF=E5=9C=B0?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=A8=8B=E5=BA=8F=EF=BC=8C=E8=80=8C=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E4=B8=8A=20Updater.exe=20=E8=87=AA=E8=BA=AB=E5=B9=B6?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0?= 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 03f4ab5..d1c0d17 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 本次运行结束"); } - // 返回本次是否有任何更新(包括 BootLoader/Updater 自身更新和应用文件更新) - update_performed.load(std::sync::atomic::Ordering::SeqCst) + // 返回本次运行是否更新了 Updater.exe 自身(只有 Updater 自身更新了才需要退出重启) + updater_downloaded.load(std::sync::atomic::Ordering::SeqCst) } #[tokio::main]