We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82ff8f commit 3840648Copy full SHA for 3840648
packages/extester/src/util/codeUtil.ts
@@ -413,7 +413,19 @@ export class CodeUtil {
413
if (platform === 'linux') {
414
platform += arch === 'ia32' ? '-ia32' : `-${arch}`;
415
} else if (platform === 'win32') {
416
- platform += arch === 'x64' ? `-${arch}` : '';
+ switch (arch) {
417
+ case 'arm64': {
418
+ platform += '-arm64';
419
+ break;
420
+ }
421
+ case 'x64': {
422
+ platform += '-x64';
423
424
425
+ default: {
426
+ throw new Error(`Unknown Platform: ${arch}`);
427
428
429
platform += '-archive';
430
this.cliEnv = `set ${this.cliEnv} &&`;
431
} else if (platform === 'darwin') {
0 commit comments