attempting to fix mount detection

This commit is contained in:
thatben 2025-04-21 11:22:44 +02:00
parent c76cd357ca
commit df9569314f
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -11,7 +11,12 @@ export class FsService {
val.volumes.forEach(function (volume) {
const mount = volume.mountPoint;
if (mount != null && mount != undefined && mount.length > 0) {
mountPoints.push(volume.mountPoint);
try {
if (!fs.lstatSync(mount).isFile()) {
mountPoints.push(mount);
}
} catch {
}
}
});
});