From b703f9f305c81f3dccf93876c5d48e68efadcf17 Mon Sep 17 00:00:00 2001 From: curuvar <58759586+curuvar@users.noreply.github.com> Date: Sat, 15 Oct 2022 22:43:41 -0400 Subject: [PATCH] fix(cpn): Workaround MacOS 13 filesystem type change (#2564) --- companion/src/radiointerface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/radiointerface.cpp b/companion/src/radiointerface.cpp index 9e508cfda..68d1f9bc3 100644 --- a/companion/src/radiointerface.cpp +++ b/companion/src/radiointerface.cpp @@ -302,7 +302,7 @@ QString findMassstoragePath(const QString & filename, bool onlyPath) QString probefile; bool found = false; - QRegularExpression fstypeRe("^(v?fat|msdos)", QRegularExpression::CaseInsensitiveOption); // Linux: "vfat"; macOS: "msdos"; Win: "FAT32" + QRegularExpression fstypeRe("^(v?fat|msdos|lifs)", QRegularExpression::CaseInsensitiveOption); // Linux: "vfat"; macOS: "msdos" or "lifs"; Win: "FAT32" foreach(const QStorageInfo & si, QStorageInfo::mountedVolumes()) { //qDebug() << si.rootPath() << si.name() << si.device() << si.displayName() << si.fileSystemType() << si.isReady();