We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2453d5f commit 823dfbbCopy full SHA for 823dfbb
Utility.bat
@@ -361,8 +361,12 @@ exit /b
361
)
362
if exist "%addonFile%" (
363
echo Deploying...
364
+ if not exist "%WebCTRL%\addons" mkdir "%WebCTRL%\addons" >nul 2>nul
365
if exist "%WebCTRL%\addons\!name!.addon" del /F "%WebCTRL%\addons\!name!.addon" >nul 2>nul
- if !ERRORLEVEL! NEQ 0 exit /b 1
366
+ if !ERRORLEVEL! NEQ 0 (
367
+ echo Failed to overwrite !name!.addon. Please deactivate the addon in WebCTRL before attempting to redeploy.
368
+ exit /b 1
369
+ )
370
copy /y "%certFile%" "%WebCTRL%\addons\%certFileName%" >nul
371
copy /y "%addonFile%" "%WebCTRL%\addons\!name!.addon" >nul
372
if !ERRORLEVEL! EQU 0 (
0 commit comments