From 937c5cd5cd57893e85601b472e7d6cfd5ffdc6ab Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 24 Sep 2023 01:41:35 +0200 Subject: Windows: always open online help in case of Setup because local help may be outdated --- src/Common/Dlgcode.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Common') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index a81dc984..d9bb776e 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -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 ()) -- cgit v1.2.3