Armin Schrenk 1 year ago
parent
commit
1ab73be1f4
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/main/java/org/cryptomator/common/mount/Mounter.java

+ 1 - 6
src/main/java/org/cryptomator/common/mount/Mounter.java

@@ -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);