diff --git a/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java b/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java index 87bac1c6f..984220647 100644 --- a/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java +++ b/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java @@ -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) {