From e024150c5aaa2d376f7ca371af7f819d6a458ced Mon Sep 17 00:00:00 2001 From: haosicheng Date: Wed, 29 Oct 2025 15:56:04 +0800 Subject: [PATCH] =?UTF-8?q?[patch]=20=E6=96=B0=E5=A2=9E=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD=20=E6=A8=A1=E5=9D=97=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9B=B4=E6=96=B0=E5=90=8E=E6=89=93=E5=BC=80?= =?UTF-8?q?--=E4=B8=8D=E8=A2=AB=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_updater.py b/auto_updater.py index e464bcf..9c2d4f4 100644 --- a/auto_updater.py +++ b/auto_updater.py @@ -335,10 +335,10 @@ REM Cleanup installer echo INFO: Cleaning up installer... del /f /q "{installer_path}" 2>nul -REM Start new version +REM Start new version (with --after-update flag to show window on top) echo INFO: Starting new version... if exist "{install_dir}\\{exe_name}" ( - start "" "{install_dir}\\{exe_name}" + start "" "{install_dir}\\{exe_name}" --after-update echo OK: Program started successfully ) else ( echo ERROR: Program file not found: {exe_name}