mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-06 04:40:37 +00:00
Trim application search output
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user