mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
User Interface enhancements for PIM
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user