macOSX: Add "FUSE-T build" in About dialog when linking against FUSE-T instead of MacFUSE

This commit is contained in:
Mounir IDRASSI 2024-06-23 12:50:40 +02:00
parent 423352056e
commit 875a1da0fb
No known key found for this signature in database
GPG Key ID: C2FF2438CD26E3B7

View File

@ -27,7 +27,11 @@ namespace VeraCrypt
versionStaticTextFont.SetWeight (wxFONTWEIGHT_BOLD);
VersionStaticText->SetFont (versionStaticTextFont);
VersionStaticText->SetLabel (Application::GetName() + L" " + StringConverter::ToWide (Version::String()));
wstring versionStr = StringConverter::ToWide (Version::String());
#ifdef VC_MACOSX_FUSET
versionStr += L" (FUSE-T build)";
#endif
VersionStaticText->SetLabel (Application::GetName() + L" " + versionStr);
CopyrightStaticText->SetLabel (TC_STR_RELEASED_BY);
WebsiteHyperlink->SetLabel (L"www.idrix.fr");