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:
@@ -3,6 +3,12 @@ chcp 65001 >nul 2>&1
|
|||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
title Copydev Imposition Tool — Installation
|
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 "APP_NAME=Copydev Imposition Tool"
|
||||||
set "INSTALL_DIR=%LOCALAPPDATA%\CopydevImposingAcrobat"
|
set "INSTALL_DIR=%LOCALAPPDATA%\CopydevImposingAcrobat"
|
||||||
set "REPO_DIR=%INSTALL_DIR%\repo"
|
set "REPO_DIR=%INSTALL_DIR%\repo"
|
||||||
@@ -447,6 +453,8 @@ goto MENU
|
|||||||
|
|
||||||
:: ============================================================
|
:: ============================================================
|
||||||
:FIN
|
:FIN
|
||||||
|
echo.
|
||||||
echo Au revoir !
|
echo Au revoir !
|
||||||
timeout /t 2 >nul
|
echo.
|
||||||
|
pause
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|||||||
Reference in New Issue
Block a user