1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-12-30 10:29:44 -06:00

Windows: always open online help in case of Setup because local help may be outdated

This commit is contained in:
Mounir IDRASSI
2023-09-24 01:41:35 +02:00
parent 76c64d49ea
commit 937c5cd5cd
2 changed files with 7 additions and 1 deletions

View File

@@ -11223,8 +11223,14 @@ void Applink (const char *dest)
if (buildUrl)
{
// in case of setup, always open the online documentation because existing documentation may be outdated
#ifdef SETUP
StringCbPrintfW (url, sizeof (url), L"https://www.veracrypt.fr/en/%s", page);
buildUrl = FALSE;
#else
StringCbPrintfW (url, sizeof (url), L"file:///%sdocs/html/en/%s", installDir, page);
CorrectURL (url);
#endif
}
if (IsAdmin ())