Trim application search output

This commit is contained in:
crschnick 2024-02-29 07:05:36 +00:00
parent bef976914f
commit e7fc20b40d

View file

@ -164,7 +164,7 @@ public abstract class ExternalApplicationType implements PrefsChoiceValue {
if (exit == 0) {
var first = out.lines().findFirst();
if (first.isPresent()) {
return first.map(Path::of);
return first.map(String::trim).map(Path::of);
}
}
} catch (Exception ex) {