Skip to content

Commit

Permalink
fix(cpn): Workaround MacOS 13 filesystem type change (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
curuvar authored and pfeerick committed Oct 18, 2022
1 parent c34bac6 commit 5b80f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/radiointerface.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 5b80f3b

Please sign in to comment.