[macOS] Introduce macOS-26 base code (#13007)

This commit is contained in:
Erik Bershel
2025-09-11 23:49:57 +02:00
committed by GitHub
parent a4fd58c860
commit e812bbc619
25 changed files with 751 additions and 108 deletions

View File

@@ -2,7 +2,7 @@ function Get-JavaVersions {
$defaultJavaPath = (Get-Item env:JAVA_HOME).value
$os = Get-OSVersion
if ($os.IsVenturaArm64 -or $os.IsSonomaArm64 -or $os.IsSequoiaArm64) {
if ($os.IsArm64) {
$javaVersions = Get-Item env:JAVA_HOME_*_arm64
} else {
$javaVersions = Get-Item env:JAVA_HOME_*_X64