mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-09-19 20:36:18 +02:00
macOS: restrict --allow-screencapture switch to macOS only since screen protection doesn't work on Linux
In the code we also enable it for TC_WINDOWS but actually we don't use wxWidgets for Windows build.
This commit is contained in:
parent
e0a46f6b2b
commit
5c485e80b6
@ -42,7 +42,9 @@ namespace VeraCrypt
|
||||
|
||||
parser.SetSwitchChars (L"-");
|
||||
|
||||
#if defined(TC_WINDOWS) || defined(TC_MACOSX)
|
||||
parser.AddSwitch (L"", L"allow-screencapture", _("Allow window to be included in screenshots and screen captures (Windows/MacOS)"));
|
||||
#endif
|
||||
parser.AddOption (L"", L"auto-mount", _("Auto mount device-hosted/favorite volumes"));
|
||||
parser.AddSwitch (L"", L"backup-headers", _("Backup volume headers"));
|
||||
parser.AddSwitch (L"", L"background-task", _("Start Background Task"));
|
||||
|
Loading…
Reference in New Issue
Block a user