fix(cpn): Workaround MacOS 13 filesystem type change (#2564)

This commit is contained in:
curuvar
2022-10-16 12:43:41 +10:00
committed by GitHub
parent 836954ee4b
commit b703f9f305
+1 -1
View File
@@ -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();