Updated WIN build scripts

This commit is contained in:
Valentino Orlandi 2022-11-22 18:00:36 +01:00
parent e16e4bab95
commit 5573578132
Signed by: elB4RTO
GPG key ID: 1719E976DB2D4E71
2 changed files with 0 additions and 46 deletions

View file

@ -109,29 +109,6 @@ IF ERRORLEVEL 1 (
)
IF NOT EXIST "%exec_path%\licenses" GOTO :step5
rmdir /S /Q "%exec_path%\licenses"
IF ERRORLEVEL 1 (
ECHO:
ECHO Error: failed to remove old licenses
cd "%actual_path%"
PAUSE
EXIT /B 1
)
:step5
xcopy /E /I /V /Y installation_stuff\logdocdata\licenses "%exec_path%\licenses"
IF ERRORLEVEL 1 (
ECHO:
ECHO Error: failed to copy licenses
cd "%actual_path%"
PAUSE
EXIT /B 1
)
:: Installation finished
ECHO:
ECHO Installation finished

View file

@ -80,29 +80,6 @@ IF ERRORLEVEL 1 (
EXIT /B 1
)
IF NOT EXIST "%exec_path%\licenses" GOTO :step4
rmdir /S /Q "%exec_path%\licenses"
IF ERRORLEVEL 1 (
ECHO:
ECHO Error: failed to remove old licenses
cd "%actual_path%"
PAUSE
EXIT /B 1
)
:step4
xcopy /E /I /V /Y installation_stuff\logdocdata\licenses "%exec_path%\licenses"
IF ERRORLEVEL 1 (
ECHO:
ECHO Error: failed to copy licenses
cd "%actual_path%"
PAUSE
EXIT /B 1
)
:: Update finished
ECHO: