Windows: Move User Guide CHM file under "docs" folder

This commit is contained in:
Mounir IDRASSI 2017-06-04 21:52:16 +02:00
parent 1f22d53f00
commit bf13f88ffa
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC
5 changed files with 10 additions and 10 deletions

View File

@ -3054,11 +3054,11 @@ void InitHelpFileName (void)
if (strcmp (GetPreferredLangId(), "en") == 0
|| strlen(GetPreferredLangId()) == 0)
{
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"VeraCrypt User Guide.chm");
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"docs\\VeraCrypt User Guide.chm");
}
else
{
StringCbPrintfW (szTemp, sizeof(szTemp), L"VeraCrypt User Guide.%S.chm", GetPreferredLangId());
StringCbPrintfW (szTemp, sizeof(szTemp), L"docs\\VeraCrypt User Guide.%S.chm", GetPreferredLangId());
StringCbCatW (szHelpFile, sizeof(szHelpFile), szTemp);
}
@ -3069,7 +3069,7 @@ void InitHelpFileName (void)
{
++lpszTmp;
*lpszTmp = 0;
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"VeraCrypt User Guide.chm");
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"docs\\VeraCrypt User Guide.chm");
}
}
}

View File

@ -21,7 +21,6 @@ extern "C" {
// Specifies what files to install, where (determined by the prefix), and in what order
static wchar_t *szFiles[]=
{
L"AVeraCrypt User Guide.chm",
L"ALicense.txt",
L"ALICENSE",
L"ANOTICE",
@ -81,7 +80,6 @@ static wchar_t *szFiles[]=
// Specifies what files are included in self-extracting packages (no other files will be packaged or extracted).
static wchar_t *szCompressedFiles[]=
{
L"VeraCrypt User Guide.chm",
L"License.txt",
L"LICENSE",
L"NOTICE",

View File

@ -1,8 +1,9 @@
PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
set SIGNINGPATH=%~dp0
cd %SIGNINGPATH%
call "..\..\..\doc\chm\create_chm.bat"
call "..\..\doc\chm\create_chm.bat"
cd %SIGNINGPATH%
@ -20,7 +21,6 @@ cd "..\Release\Setup Files\"
copy ..\..\LICENSE .
copy ..\..\License.txt .
copy ..\..\NOTICE .
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
@ -28,6 +28,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
rmdir /S /Q docs
mkdir docs\html\en
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
del docs.zip
7z a -y docs.zip docs

View File

@ -25,7 +25,6 @@ cd "..\Release\Setup Files\"
copy ..\..\LICENSE .
copy ..\..\License.txt .
copy ..\..\NOTICE .
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
@ -33,6 +32,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
rmdir /S /Q docs
mkdir docs\html\en
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
del docs.zip
7z a -y docs.zip docs

View File

@ -8,8 +8,9 @@ set SHA256PFXPASSWORD=idrix
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
set SIGNINGPATH=%~dp0
cd %SIGNINGPATH%
call "..\..\..\doc\chm\create_chm.bat"
call "..\..\doc\chm\create_chm.bat"
cd %SIGNINGPATH%
@ -24,7 +25,6 @@ cd "..\Debug\Setup Files\"
copy ..\..\LICENSE .
copy ..\..\License.txt .
copy ..\..\NOTICE .
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
del *.xml
copy /V /Y ..\..\..\Translations\*.xml .
@ -32,6 +32,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
rmdir /S /Q docs
mkdir docs\html\en
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
del docs.zip
7z a -y docs.zip docs