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}