Skip to content

Commit

Permalink
Linux: fix assert by wxWidgets library included in Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
idrassi committed Sep 18, 2024
1 parent 3808507 commit aaf42a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Main/CommandLineInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit aaf42a8

Please sign in to comment.