format update

This commit is contained in:
Aparna Jyothi 2025-06-06 18:51:53 +05:30
parent 7469b5436f
commit 2e54943954
3 changed files with 45 additions and 6 deletions

View file

@ -160,10 +160,7 @@ export async function useCpythonVersion(
const basePath = process.env['APPDATA'] || '';
let versionSuffix = `${major}${minor}`;
// Append '-32' for x86 architecture if Python version is >= 3.10
if (
architecture === 'x86' &&
(major > 3 || (major === 3 && minor >= 10))
) {
if (architecture === 'x86' && (major > 3 || (major === 3 && minor >= 10))){
versionSuffix += '-32';
} else if (architecture === 'arm64') {
versionSuffix += '-arm64';