mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: reorganize localized documentation, each in a dedicated folder. Adapt installers and documentation URL logic.
Now we have 3 folders under html directory:en, ru, zh-cn. Similar separation exist in online version: https://veracrypt.fr/en https://veracrypt.fr/ru https://veracrypt.fr/zh-cn
This commit is contained in:
@@ -2634,6 +2634,14 @@ EXTERN_C UINT STDAPICALLTYPE VC_CustomAction_PostInstall(MSIHANDLE hInstaller)
|
||||
FindClose (h);
|
||||
}
|
||||
|
||||
// remove legacy folder "docs\en\ru" if present in installation directory
|
||||
{
|
||||
wchar_t folder[TC_MAX_PATH];
|
||||
// since we've done SetCurrentDirectory(szDestDir), a relative path will be resolved correctly
|
||||
StringCbCopyW(folder, sizeof(folder), L"docs\\html\\en\\ru");
|
||||
StatRemoveDirectory(folder);
|
||||
}
|
||||
|
||||
// remove language XML files from previous version if any
|
||||
h = FindFirstFile (L"Language*.xml", &f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user