Fix path in macOs MPS dist

This commit is contained in:
Fedor Isakov 2025-11-03 12:33:23 +01:00
parent 5a3ec41141
commit 4497d07d27
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ task installMps_macos(type: Copy) {
// Gradle woodoo for unzipping an archive // Gradle woodoo for unzipping an archive
eachFile { FileCopyDetails fcp -> eachFile { FileCopyDetails fcp ->
// copy the contents of the directory named "MPS ${mpsRelease}" // copy the contents of the directory named "MPS ${mpsRelease}"
if (fcp.relativePath.pathString.startsWith("MPS ${mpsRelease}.app/Contents/")) { if (fcp.relativePath.pathString.startsWith("MPS.app/Contents/")) {
// remap the file to the root // remap the file to the root
def segments = fcp.relativePath.segments def segments = fcp.relativePath.segments
def pathsegments = segments[2..-1] as String[] def pathsegments = segments[2..-1] as String[]