Skip to content

Commit

Permalink
Updated display names for WinFsp providers
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Jan 25, 2023
1 parent d13a134 commit db1f566
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.TimeoutException;

import static org.cryptomator.integrations.mount.MountCapability.FILE_SYSTEM_NAME;
import static org.cryptomator.integrations.mount.MountCapability.MOUNT_AS_DRIVE_LETTER;
import static org.cryptomator.integrations.mount.MountCapability.MOUNT_FLAGS;
import static org.cryptomator.integrations.mount.MountCapability.MOUNT_TO_EXISTING_DIR;
import static org.cryptomator.integrations.mount.MountCapability.MOUNT_WITHIN_EXISTING_PARENT;
import static org.cryptomator.integrations.mount.MountCapability.READ_ONLY;
import static org.cryptomator.integrations.mount.MountCapability.UNMOUNT_FORCED;
Expand All @@ -38,7 +36,7 @@ public class WinFspMountProvider implements MountService {

@Override
public String displayName() {
return "WinFsp";
return "WinFsp (Local Drive)";
}

@Override
Expand Down Expand Up @@ -108,7 +106,7 @@ protected Set<String> combinedMountFlags() {
combined.add("-oumask=0333");
}
combined.removeIf(flag -> flag.startsWith("-oExactFileSystemName="));
combined.add("-oExactFileSystemName="+fsName);
combined.add("-oExactFileSystemName=" + fsName);
return combined;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class WinFspNetworkMountProvider extends WinFspMountProvider {

@Override
public String displayName() {
return "WinFsp (Network Drive)";
return "WinFsp";
}

@Override
Expand Down

0 comments on commit db1f566

Please sign in to comment.