[patch] 新增自动更新功能 模块 优化更新后打开--不被遮挡
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user