diff --git a/app/src/main/java/io/xpipe/app/util/DesktopHelper.java b/app/src/main/java/io/xpipe/app/util/DesktopHelper.java index bfd27af11..02eb25070 100644 --- a/app/src/main/java/io/xpipe/app/util/DesktopHelper.java +++ b/app/src/main/java/io/xpipe/app/util/DesktopHelper.java @@ -98,11 +98,7 @@ public class DesktopHelper { // Windows does not support Action.BROWSE_FILE_DIR if (OsType.ofLocal() == OsType.WINDOWS) { // Explorer does not support single quotes, so use normal quotes - if (Files.isDirectory(file)) { - LocalExec.readStdoutIfPossible("explorer", "\"" + file + "\""); - } else { - LocalExec.readStdoutIfPossible("explorer", "/select,", "\"" + file + "\""); - } + LocalExec.readStdoutIfPossible("explorer", "/select,", "\"" + file + "\""); return; }