File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/org/keepassxc Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ static Optional<KeePassXCType> determineType() {
13
13
.filter (ph -> ph .info ().command ().isPresent () && ph .info ().command ().get ().contains ("KeePassXC" ))
14
14
.findFirst ();
15
15
16
+ ///home/<user>/Downloads/KeePassXC-2.7.4-x86_64.AppImage
16
17
if (processHandle .isPresent () && processHandle .get ().info ().command ().get ().contains ("AppImage" )) {
17
18
LOG .debug ("Found running KeePassXC AppImage" );
18
19
return Optional .of (KeePassXCType .AppImage );
@@ -22,16 +23,19 @@ static Optional<KeePassXCType> determineType() {
22
23
.filter (ph -> ph .info ().commandLine ().isPresent () && ph .info ().commandLine ().get ().contains ("keepassxc" ))
23
24
.findFirst ();
24
25
26
+ ///usr/bin/bwrap --args 38 keepassxc-wrapper
25
27
if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("bwrap" )) {
26
28
LOG .debug ("Found running KeePassXC installed via Flatpak" );
27
29
return Optional .of (KeePassXCType .Flatpak );
28
30
}
29
31
32
+ ///snap/keepassxc/1645/usr/bin/keepassxc
30
33
if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("snap" )) {
31
34
LOG .debug ("Found running KeePassXC installed via Snap" );
32
35
return Optional .of (KeePassXCType .Snap );
33
36
}
34
37
38
+ ///usr/bin/keepassxc
35
39
if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("bin" )) {
36
40
LOG .debug ("Found running KeePassXC installed from repository" );
37
41
return Optional .of (KeePassXCType .Repo );
You can’t perform that action at this time.
0 commit comments