1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows: modify build batch files to use tar instead of 7zip and to support new layout of localized documentation

This commit is contained in:
Mounir IDRASSI
2025-04-27 23:43:03 +09:00
parent 07b53541e0
commit d19c89d602
4 changed files with 24 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
PATH=%PATH%;%WSDK81%\bin\x86
set VC_VERSION=1.26.20
set VC_VERSION_NBRE=1.26.20
set PFXNAME=TestCertificate\idrix_codeSign.pfx
@@ -34,17 +34,17 @@ rmdir /S /Q Languages
mkdir Languages
copy /V /Y ..\..\..\Translations\*.xml Languages\.
del Languages.zip
7z a -y Languages.zip Languages
tar -a -cf Languages.zip Languages
rmdir /S /Q docs
mkdir docs\html\en
mkdir docs\EFI-DCS
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
xcopy /E /V /Y ..\..\..\doc\html\* docs\html\.
copy "..\..\..\doc\chm\VeraCrypt User Guide*.chm" docs\.
copy "..\..\..\doc\EFI-DCS\*.pdf" docs\EFI-DCS\.
copy "..\..\Release\Setup Files\*.cat" .
copy "..\..\Release\Setup Files\veracrypt.inf" .
del docs.zip
7z a -y docs.zip docs
tar -a -cf docs.zip docs
"VeraCrypt Setup.exe" /p
call build_msi_x64.bat %VC_VERSION_NBRE%
del LICENSE
@@ -55,7 +55,7 @@ del VeraCrypt.ico
del VeraCrypt_setup_background.bmp
del VeraCrypt_setup.bmp
del Setup.ico
del "VeraCrypt User Guide.chm"
del "VeraCrypt User Guide*.chm"
del Languages.zip
del docs.zip
rmdir /S /Q Languages