updated code logic for arm64

This commit is contained in:
Aparna Jyothi 2025-05-09 17:41:53 +05:30
parent 0b865b97c9
commit 3d7ca5fea2
2 changed files with 10 additions and 0 deletions

View file

@ -164,12 +164,16 @@ export async function useCpythonVersion(
(major > 3 || (major === 3 && minor >= 10))
) {
versionSuffix += '-32';
} else if (architecture === 'arm64') {
versionSuffix += '-arm64';
}
// Append 't' for freethreaded builds
if (freethreaded) {
versionSuffix += 't';
if (architecture === 'x86-freethreaded') {
versionSuffix += '-32';
} else if (architecture === 'arm64-freethreaded') {
versionSuffix += '-arm64';
}
}
// Add user Scripts path