Skip to content

Commit

Permalink
Merge branch 'develop' into release/1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Sep 16, 2024
2 parents 3bba25c + 18e2cd1 commit 6269df3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 31 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@

<!-- runtime dependencies -->

<api.version>1.4.0-beta2</api.version>
<api.version>1.4.0</api.version>
<secret-service.version>2.0.1-alpha</secret-service.version>
<kdewallet.version>1.4.0</kdewallet.version>
<slf4j.version>2.0.13</slf4j.version>
<slf4j.version>2.0.16</slf4j.version>
<appindicator.version>1.4.1</appindicator.version>

<!-- test dependencies -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean isLocked() {
}

@Override
public void storePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException {
public void storePassphrase(String key, String displayName, CharSequence passphrase, boolean ignored) throws KeychainAccessException {
CheckUtil.checkState(wallet.isPresent(), "Keychain not supported.");
wallet.get().storePassphrase(key, passphrase);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean isLocked() {
}

@Override
public void storePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException {
public void storePassphrase(String key, String displayName, CharSequence passphrase, boolean ignored) throws KeychainAccessException {
try (SimpleCollection keyring = new SimpleCollection()) {
List<String> list = keyring.getItems(createAttributes(key));
if (list == null || list.isEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.cryptomator.integrations.common.Priority;
import org.cryptomator.integrations.quickaccess.QuickAccessService;
import org.cryptomator.integrations.quickaccess.QuickAccessServiceException;
import org.cryptomator.linux.util.SupportUtil;
import org.xml.sax.SAXException;

import javax.xml.XMLConstants;
Expand All @@ -23,7 +22,6 @@
import java.nio.file.StandardOpenOption;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

Expand Down Expand Up @@ -161,6 +159,6 @@ private int indexOfEntryOpeningTag(String placesContent, int idIndex) {

@CheckAvailability
public static boolean isSupported() {
return SupportUtil.commandExists("dolphin");
return Files.exists(PLACES_FILE);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
import org.cryptomator.integrations.common.Priority;
import org.cryptomator.integrations.quickaccess.QuickAccessService;
import org.cryptomator.integrations.quickaccess.QuickAccessServiceException;
import org.cryptomator.linux.util.SupportUtil;

import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.nio.file.StandardOpenOption;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

Expand Down Expand Up @@ -85,6 +83,6 @@ public void remove() throws QuickAccessServiceException {

@CheckAvailability
public static boolean isSupported() {
return SupportUtil.commandExists("nautilus");
return Files.exists(BOOKMARKS_FILE);
}
}
21 changes: 0 additions & 21 deletions src/main/java/org/cryptomator/linux/util/SupportUtil.java

This file was deleted.

0 comments on commit 6269df3

Please sign in to comment.