From 4fefca4741773418bfdfd7eb868660c19685200a Mon Sep 17 00:00:00 2001 From: timimichr <136693852+timimichr@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:10:01 +0100 Subject: [PATCH] fix: Update codeUtil.ts to download vscode for linux-arm64 --- src/util/codeUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/codeUtil.ts b/src/util/codeUtil.ts index 6b549986b..2d8184766 100644 --- a/src/util/codeUtil.ts +++ b/src/util/codeUtil.ts @@ -371,7 +371,7 @@ export class CodeUtil { this.cliEnv = 'ELECTRON_RUN_AS_NODE=1'; if (platform === 'linux') { - platform += arch === 'x64' ? `-${arch}` : `-ia32`; + platform += arch === 'ia32' ? '-ia32' : `-${arch}`; } else if (platform === 'win32') { platform += arch === 'x64' ? `-${arch}` : ''; platform += '-archive';