Linux: fix assert by wxWidgets library included in Ubuntu.

This commit is contained in:
Mounir IDRASSI 2024-09-18 15:08:31 +02:00
parent 380850787e
commit aaf42a84a7
No known key found for this signature in database
GPG Key ID: FC1B00364B3FE937

View File

@ -146,8 +146,11 @@ namespace VeraCrypt
ArgMountOptions = Preferences.DefaultMountOptions;
}
#if defined(TC_WINDOWS) || defined(TC_MACOSX)
ArgAllowScreencapture = parser.Found (L"allow-screencapture");
#else
ArgAllowScreencapture = true; // Protection against screenshots is supported only on Windows and MacOS
#endif
// Commands
if (parser.Found (L"auto-mount", &str))
{