mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux/MacOSX: Load preferences if only volume path is given in command line and GUI mode enabled.
This commit is contained in:
@@ -501,10 +501,8 @@ namespace VeraCrypt
|
||||
|
||||
LangString.Init();
|
||||
Core->Init();
|
||||
|
||||
wxCmdLineParser parser;
|
||||
parser.SetCmdLine (argc, argv);
|
||||
CmdLine.reset (new CommandLineInterface (parser, InterfaceType));
|
||||
|
||||
CmdLine.reset (new CommandLineInterface (argc, argv, InterfaceType));
|
||||
SetPreferences (CmdLine->Preferences);
|
||||
|
||||
Core->SetApplicationExecutablePath (Application::GetExecutablePath());
|
||||
|
||||
Reference in New Issue
Block a user