diff options
Diffstat (limited to 'src/Main/Forms/MainFrame.cpp')
-rw-r--r-- | src/Main/Forms/MainFrame.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Main/Forms/MainFrame.cpp b/src/Main/Forms/MainFrame.cpp index b4f2983f..0799f325 100644 --- a/src/Main/Forms/MainFrame.cpp +++ b/src/Main/Forms/MainFrame.cpp @@ -638,6 +638,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } if (SlotListCtrl->GetSelectedItemCount() == 1) mountOptions.SlotNumber = SelectedSlotNumber; @@ -663,6 +667,11 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } + Gui->MountAllFavoriteVolumes (mountOptions); } catch (exception &e) @@ -693,6 +702,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } try { @@ -945,6 +958,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } favorite.ToMountOptions (mountOptions); shared_ptr <VolumeInfo> volume = Gui->MountVolume (mountOptions); |