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 dc92228b5..d4a5693a6 100644 --- a/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java +++ b/app/src/main/java/io/xpipe/app/prefs/ExternalApplicationType.java @@ -46,7 +46,7 @@ public MacApplication(String id, String applicationName) { public boolean isAvailable() { try (ShellControl pc = LocalShell.getShell().start()) { var out = pc.command(String.format( - "mdfind -literal 'kMDItemDisplayName = \"%s.app\"' -onlyin /Applications -onlyin ~/Applications -onlyin /System/Applications", + "mdfind -literal 'kMDItemFSName = \"%s.app\"' -onlyin /Applications -onlyin ~/Applications -onlyin /System/Applications", applicationName)) .readStdoutIfPossible(); return out.isPresent() && !out.get().isBlank();