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);
|
||||
builder.setMountpoint(defaultMountPointBase);
|
||||
} else if (canMountToDir) {
|
||||
var dirName = vaultSettings.mountName.get();
|
||||
//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);
|
||||
var mountPoint = defaultMountPointBase.resolve(vaultSettings.id);
|
||||
Files.createDirectories(mountPoint);
|
||||
cleanup = () -> removeCreatedDirectory(mountPoint);
|
||||
builder.setMountpoint(mountPoint);
|
||||
|
Loading…
Reference in New Issue
Block a user