From 12461a55a8246930c1bbeb19a60d0d4b52ff5abd Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 19 Oct 2019 22:04:48 +0200 Subject: MacOSX: Support APFS for creating volumes. --- src/Main/CommandLineInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Main/CommandLineInterface.cpp') diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp index a0924de4..171bd165 100644 --- a/src/Main/CommandLineInterface.cpp +++ b/src/Main/CommandLineInterface.cpp @@ -321,6 +321,8 @@ namespace VeraCrypt } else if (str.IsSameAs (L"exFAT", false)) ArgFilesystem = VolumeCreationOptions::FilesystemType::exFAT; + else if (str.IsSameAs (L"APFS", false)) + ArgFilesystem = VolumeCreationOptions::FilesystemType::APFS; #elif defined (TC_FREEBSD) || defined (TC_SOLARIS) else if (str.IsSameAs (L"UFS", false)) ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS; -- cgit v1.2.3