Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ class ToolFinderBuilder {
}
if (Os.current() == Os.OSX) {
// default location on Mac OS X for Beta versions
paths.add(File("/Applications/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"
if (File("/Applications/Studio Pro ${mendixVersion} Beta.app/Contents").exists()) {
paths.add(File("/Applications/Studio Pro ${mendixVersion} Beta.app/Contents"))
} else {
paths.add(File("/Applications/Studio Pro ${mendixVersion}-Beta.app/Contents"))
}
}
// default download location
paths.add(project.layout.buildDirectory.dir("modeler/${mendixVersion}").get().asFile)
Expand Down