mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Move User Guide CHM file under "docs" folder
This commit is contained in:
@@ -3054,11 +3054,11 @@ void InitHelpFileName (void)
|
|||||||
if (strcmp (GetPreferredLangId(), "en") == 0
|
if (strcmp (GetPreferredLangId(), "en") == 0
|
||||||
|| strlen(GetPreferredLangId()) == 0)
|
|| strlen(GetPreferredLangId()) == 0)
|
||||||
{
|
{
|
||||||
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"VeraCrypt User Guide.chm");
|
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"docs\\VeraCrypt User Guide.chm");
|
||||||
}
|
}
|
||||||
else
|
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);
|
StringCbCatW (szHelpFile, sizeof(szHelpFile), szTemp);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3069,7 +3069,7 @@ void InitHelpFileName (void)
|
|||||||
{
|
{
|
||||||
++lpszTmp;
|
++lpszTmp;
|
||||||
*lpszTmp = 0;
|
*lpszTmp = 0;
|
||||||
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"VeraCrypt User Guide.chm");
|
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"docs\\VeraCrypt User Guide.chm");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ extern "C" {
|
|||||||
// Specifies what files to install, where (determined by the prefix), and in what order
|
// Specifies what files to install, where (determined by the prefix), and in what order
|
||||||
static wchar_t *szFiles[]=
|
static wchar_t *szFiles[]=
|
||||||
{
|
{
|
||||||
L"AVeraCrypt User Guide.chm",
|
|
||||||
L"ALicense.txt",
|
L"ALicense.txt",
|
||||||
L"ALICENSE",
|
L"ALICENSE",
|
||||||
L"ANOTICE",
|
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).
|
// Specifies what files are included in self-extracting packages (no other files will be packaged or extracted).
|
||||||
static wchar_t *szCompressedFiles[]=
|
static wchar_t *szCompressedFiles[]=
|
||||||
{
|
{
|
||||||
L"VeraCrypt User Guide.chm",
|
|
||||||
L"License.txt",
|
L"License.txt",
|
||||||
L"LICENSE",
|
L"LICENSE",
|
||||||
L"NOTICE",
|
L"NOTICE",
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
|
PATH=%PATH%;%WSDK81%\bin\x86;C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
|
||||||
|
|
||||||
set SIGNINGPATH=%~dp0
|
set SIGNINGPATH=%~dp0
|
||||||
|
cd %SIGNINGPATH%
|
||||||
|
|
||||||
call "..\..\..\doc\chm\create_chm.bat"
|
call "..\..\doc\chm\create_chm.bat"
|
||||||
|
|
||||||
cd %SIGNINGPATH%
|
cd %SIGNINGPATH%
|
||||||
|
|
||||||
@@ -20,7 +21,6 @@ cd "..\Release\Setup Files\"
|
|||||||
copy ..\..\LICENSE .
|
copy ..\..\LICENSE .
|
||||||
copy ..\..\License.txt .
|
copy ..\..\License.txt .
|
||||||
copy ..\..\NOTICE .
|
copy ..\..\NOTICE .
|
||||||
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
|
|
||||||
|
|
||||||
del *.xml
|
del *.xml
|
||||||
copy /V /Y ..\..\..\Translations\*.xml .
|
copy /V /Y ..\..\..\Translations\*.xml .
|
||||||
@@ -28,6 +28,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
|
|||||||
rmdir /S /Q docs
|
rmdir /S /Q docs
|
||||||
mkdir docs\html\en
|
mkdir docs\html\en
|
||||||
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
||||||
|
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
|
||||||
|
|
||||||
del docs.zip
|
del docs.zip
|
||||||
7z a -y docs.zip docs
|
7z a -y docs.zip docs
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ cd "..\Release\Setup Files\"
|
|||||||
copy ..\..\LICENSE .
|
copy ..\..\LICENSE .
|
||||||
copy ..\..\License.txt .
|
copy ..\..\License.txt .
|
||||||
copy ..\..\NOTICE .
|
copy ..\..\NOTICE .
|
||||||
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
|
|
||||||
|
|
||||||
del *.xml
|
del *.xml
|
||||||
copy /V /Y ..\..\..\Translations\*.xml .
|
copy /V /Y ..\..\..\Translations\*.xml .
|
||||||
@@ -33,6 +32,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
|
|||||||
rmdir /S /Q docs
|
rmdir /S /Q docs
|
||||||
mkdir docs\html\en
|
mkdir docs\html\en
|
||||||
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
||||||
|
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
|
||||||
|
|
||||||
del docs.zip
|
del docs.zip
|
||||||
7z a -y docs.zip docs
|
7z a -y docs.zip docs
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ set SHA256PFXPASSWORD=idrix
|
|||||||
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
|
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
|
||||||
|
|
||||||
set SIGNINGPATH=%~dp0
|
set SIGNINGPATH=%~dp0
|
||||||
|
cd %SIGNINGPATH%
|
||||||
|
|
||||||
call "..\..\..\doc\chm\create_chm.bat"
|
call "..\..\doc\chm\create_chm.bat"
|
||||||
|
|
||||||
cd %SIGNINGPATH%
|
cd %SIGNINGPATH%
|
||||||
|
|
||||||
@@ -24,7 +25,6 @@ cd "..\Debug\Setup Files\"
|
|||||||
copy ..\..\LICENSE .
|
copy ..\..\LICENSE .
|
||||||
copy ..\..\License.txt .
|
copy ..\..\License.txt .
|
||||||
copy ..\..\NOTICE .
|
copy ..\..\NOTICE .
|
||||||
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" .
|
|
||||||
|
|
||||||
del *.xml
|
del *.xml
|
||||||
copy /V /Y ..\..\..\Translations\*.xml .
|
copy /V /Y ..\..\..\Translations\*.xml .
|
||||||
@@ -32,6 +32,7 @@ copy /V /Y ..\..\..\Translations\*.xml .
|
|||||||
rmdir /S /Q docs
|
rmdir /S /Q docs
|
||||||
mkdir docs\html\en
|
mkdir docs\html\en
|
||||||
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
copy /V /Y ..\..\..\doc\html\* docs\html\en\.
|
||||||
|
copy "..\..\..\doc\chm\VeraCrypt User Guide.chm" docs\.
|
||||||
|
|
||||||
del docs.zip
|
del docs.zip
|
||||||
7z a -y docs.zip docs
|
7z a -y docs.zip docs
|
||||||
|
|||||||
Reference in New Issue
Block a user