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() {
1313 .filter (ph -> ph .info ().command ().isPresent () && ph .info ().command ().get ().contains ("KeePassXC" ))
1414 .findFirst ();
1515
16+ ///home/<user>/Downloads/KeePassXC-2.7.4-x86_64.AppImage
1617 if (processHandle .isPresent () && processHandle .get ().info ().command ().get ().contains ("AppImage" )) {
1718 LOG .debug ("Found running KeePassXC AppImage" );
1819 return Optional .of (KeePassXCType .AppImage );
@@ -22,16 +23,19 @@ static Optional<KeePassXCType> determineType() {
2223 .filter (ph -> ph .info ().commandLine ().isPresent () && ph .info ().commandLine ().get ().contains ("keepassxc" ))
2324 .findFirst ();
2425
26+ ///usr/bin/bwrap --args 38 keepassxc-wrapper
2527 if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("bwrap" )) {
2628 LOG .debug ("Found running KeePassXC installed via Flatpak" );
2729 return Optional .of (KeePassXCType .Flatpak );
2830 }
2931
32+ ///snap/keepassxc/1645/usr/bin/keepassxc
3033 if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("snap" )) {
3134 LOG .debug ("Found running KeePassXC installed via Snap" );
3235 return Optional .of (KeePassXCType .Snap );
3336 }
3437
38+ ///usr/bin/keepassxc
3539 if (processHandle .isPresent () && processHandle .get ().info ().commandLine ().get ().contains ("bin" )) {
3640 LOG .debug ("Found running KeePassXC installed from repository" );
3741 return Optional .of (KeePassXCType .Repo );
You can’t perform that action at this time.
0 commit comments