Skip to content

Commit ccc8616

Browse files
committed
Relax recognition for KeePassXC installed from repository
1 parent e3c6ed7 commit ccc8616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/keepassxc/KindOfKeePassXC.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public static Optional<KeePassXCType> determineType() {
3535
return Optional.of(KeePassXCType.Snap);
3636
}
3737

38-
///usr/bin/keepassxc
39-
if (processHandle.isPresent() && processHandle.get().info().commandLine().get().contains("bin")) {
38+
///usr/bin/keepassxc, gets started as "keepassxc"
39+
if (processHandle.isPresent()) {
4040
LOG.debug("Found running KeePassXC installed from repository");
4141
return Optional.of(KeePassXCType.Repo);
4242
}

0 commit comments

Comments
 (0)