Armin Schrenk 1 년 전
부모
커밋
1ab73be1f4
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  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);