diff --git a/plugin/src/main/kotlin/mendixlabs/mendixgradleplugin/ToolFinder.kt b/plugin/src/main/kotlin/mendixlabs/mendixgradleplugin/ToolFinder.kt index ea1aae6..317bd92 100644 --- a/plugin/src/main/kotlin/mendixlabs/mendixgradleplugin/ToolFinder.kt +++ b/plugin/src/main/kotlin/mendixlabs/mendixgradleplugin/ToolFinder.kt @@ -134,6 +134,15 @@ class ToolFinderBuilder { paths.add(File("C:/Program Files/Mendix/${mendixVersion}")) } if (Os.current() == Os.OSX) { + // folders where to find the OS install. In desc order (premature optimization) + + // Naming changed again after 11.6 + paths.add(File("/Applications/Mendix Studio Pro ${mendixVersion} Beta.app/Contents")) + + // The naming convention changed since 11.5. The build number is not included + // and the dash is removed. The format is now "Studio Pro 11.5.0 Beta.app" + paths.add(File("/Applications/Studio Pro ${mendixVersion} Beta.app/Contents")) + // default location on Mac OS X for Beta versions paths.add(File("/Applications/Studio Pro ${mendixVersion}-Beta.app/Contents")) }