install.bat: empecher la fenetre de se fermer silencieusement

- Wrapper cmd /k pour garder la fenetre ouverte en cas de crash
- pause avant exit dans le menu Quitter

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jules Dubois
2026-06-23 09:40:02 +02:00
parent 55990a84cf
commit 0f774c3a5d

View File

@@ -3,6 +3,12 @@ chcp 65001 >nul 2>&1
setlocal EnableDelayedExpansion
title Copydev Imposition Tool — Installation
:: Si le script plante ou sort anormalement, la fenetre reste ouverte
if "%~1" neq "__started__" (
cmd /k "%~f0" __started__ %*
exit /b
)
set "APP_NAME=Copydev Imposition Tool"
set "INSTALL_DIR=%LOCALAPPDATA%\CopydevImposingAcrobat"
set "REPO_DIR=%INSTALL_DIR%\repo"
@@ -447,6 +453,8 @@ goto MENU
:: ============================================================
:FIN
echo.
echo Au revoir !
timeout /t 2 >nul
echo.
pause
exit /b 0