diff --git a/osdep/mac/application.swift b/osdep/mac/application.swift index 23a15023e8..6bc424a654 100644 --- a/osdep/mac/application.swift +++ b/osdep/mac/application.swift @@ -87,7 +87,9 @@ class Application: NSApplication, NSApplicationDelegate { } let path = (ProcessInfo.processInfo.environment["PATH"] ?? "") + - ":/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin" + ":/usr/local/bin:/usr/local/sbin" + // homebrew Intel + ":/opt/local/bin:/opt/local/sbin" + // MacPorts + ":/opt/homebrew/bin:/opt/homebrew/sbin" // homebrew ARM appHub.log.verbose("Setting Bundle $PATH to: \(path)") _ = path.withCString { setenv("PATH", $0, 1) } }