disable fuse for now

This commit is contained in:
Sebastian Stenzel
2021-06-09 18:38:44 +02:00
parent 52940d6a19
commit 0e924e7429
5 changed files with 10 additions and 10 deletions

10
pom.xml
View File

@@ -57,11 +57,11 @@
<artifactId>cryptofs</artifactId>
<version>${cryptomator.cryptofs.version}</version>
</dependency>
<dependency>
<groupId>org.cryptomator</groupId>
<artifactId>fuse-nio-adapter</artifactId>
<version>${cryptomator.fuse.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.cryptomator</groupId>-->
<!-- <artifactId>fuse-nio-adapter</artifactId>-->
<!-- <version>${cryptomator.fuse.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.cryptomator</groupId>
<artifactId>dokany-nio-adapter</artifactId>

View File

@@ -6,7 +6,7 @@ import org.cryptomator.integrations.uiappearance.UiAppearanceProvider;
module org.cryptomator.desktop {
requires org.cryptomator.cryptofs;
requires org.cryptomator.frontend.dokany;
requires org.cryptomator.frontend.fuse;
// requires org.cryptomator.frontend.fuse;
requires org.cryptomator.frontend.webdav;
requires org.cryptomator.integrations.api;
requires java.rmi;

View File

@@ -48,12 +48,12 @@ public class VaultModule {
}
@Provides
public Volume provideVolume(Settings settings, WebDavVolume webDavVolume, FuseVolume fuseVolume, DokanyVolume dokanyVolume) {
public Volume provideVolume(Settings settings, WebDavVolume webDavVolume, DokanyVolume dokanyVolume) {
VolumeImpl preferredImpl = settings.preferredVolumeImpl().get();
if (VolumeImpl.DOKANY == preferredImpl && dokanyVolume.isSupported()) {
return dokanyVolume;
} else if (VolumeImpl.FUSE == preferredImpl && fuseVolume.isSupported()) {
return fuseVolume;
// } else if (VolumeImpl.FUSE == preferredImpl && fuseVolume.isSupported()) {
// return fuseVolume;
} else {
if (VolumeImpl.WEBDAV != preferredImpl) {
LOG.warn("Using WebDAV, because {} is not supported.", preferredImpl.getDisplayName());

View File

@@ -66,7 +66,7 @@ public interface Volume {
return Stream.of(VolumeImpl.values()).filter(impl -> switch (impl) {
case WEBDAV -> WebDavVolume.isSupportedStatic();
case DOKANY -> DokanyVolume.isSupportedStatic();
case FUSE -> FuseVolume.isSupportedStatic();
case FUSE -> false; // FuseVolume.isSupportedStatic();
}).toArray(VolumeImpl[]::new);
}