mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 12:09:45 +00:00
fixes #3344
This commit is contained in:
parent
8412871090
commit
1ab73be1f4
@ -119,12 +119,7 @@ public class Mounter {
|
|||||||
Files.createDirectories(defaultMountPointBase);
|
Files.createDirectories(defaultMountPointBase);
|
||||||
builder.setMountpoint(defaultMountPointBase);
|
builder.setMountpoint(defaultMountPointBase);
|
||||||
} else if (canMountToDir) {
|
} else if (canMountToDir) {
|
||||||
var dirName = vaultSettings.mountName.get();
|
var mountPoint = defaultMountPointBase.resolve(vaultSettings.id);
|
||||||
//required for https://github.com/cryptomator/cryptomator/issues/3272
|
|
||||||
if(service.getClass().getCanonicalName().equals("org.cryptomator.frontend.fuse.mount.FuseTMountProvider")) {
|
|
||||||
dirName = vaultSettings.id;
|
|
||||||
}
|
|
||||||
var mountPoint = defaultMountPointBase.resolve(dirName);
|
|
||||||
Files.createDirectories(mountPoint);
|
Files.createDirectories(mountPoint);
|
||||||
cleanup = () -> removeCreatedDirectory(mountPoint);
|
cleanup = () -> removeCreatedDirectory(mountPoint);
|
||||||
builder.setMountpoint(mountPoint);
|
builder.setMountpoint(mountPoint);
|
||||||
|
Loading…
Reference in New Issue
Block a user