mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Trim application search output
This commit is contained in:
parent
bef976914f
commit
e7fc20b40d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public abstract class ExternalApplicationType implements PrefsChoiceValue {
|
||||||
if (exit == 0) {
|
if (exit == 0) {
|
||||||
var first = out.lines().findFirst();
|
var first = out.lines().findFirst();
|
||||||
if (first.isPresent()) {
|
if (first.isPresent()) {
|
||||||
return first.map(Path::of);
|
return first.map(String::trim).map(Path::of);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|
Loading…
Reference in a new issue