Make Xcode regex more flexible

This commit is contained in:
Michael B. Gale
2026-10-28 12:30:50 +00:00
parent 97b90230e5
commit eff66e8fb1
3 changed files with 31 additions and 2 deletions

2
lib/entry-points.js generated
View File

@@ -183441,7 +183441,7 @@ function darwinVersion(action) {
}
var XCODE_SELECT_LINK_PATH = "/private/var/db/xcode_select_link";
var XCODE_APP_FILENAME_PATTERN = new RegExp(
/(?<filename>Xcode_(?<majorMinor>\d+(\.\d+)?)\.app)/
/(?<filename>Xcode_(?<majorMinor>\d+(\.\d+)?).*\.app)/
);
function xcodeVersion(logger2) {
try {