Skip to content

Commit

Permalink
feat: support arm64 builds on Linux
Browse files Browse the repository at this point in the history
Fixes #133
  • Loading branch information
connor4312 committed Mar 4, 2022
1 parent ba93fae commit 56c15ce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
# Changelog

### 2.1.2 | TBD
### 2.1.3 | 2022-03-04

- Support arm64 builds on Linux

### 2.1.2 | 2022-02-04

- Fix executable path being returned incorrectly on cross-platform downloads
- Fix tests sometimes failing with EACCESS errors on OSX

### 2.1.1 | 2021-01-20
### 2.1.1 | 2022-01-20

- Fix excessive logging when running in CI

### 2.1.0 | 2021-01-14
### 2.1.0 | 2022-01-14

- Add a progress `reporter` option on the `TestOptions`, which can be used to see more detail or silence download progress.

### 2.0.3 | 2021-01-11
### 2.0.3 | 2022-01-11

- Fix `@vscode/test-electron` auto updating
- Use arm64 version of VS Code on relevant platforms

### 2.0.2 | 2021-01-07
### 2.0.2 | 2022-01-07

- Add `resolveCliArgsFromVSCodeExecutablePath`

Expand Down
3 changes: 3 additions & 0 deletions lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export function getVSCodeDownloadUrl(version: string, platform = systemDefaultPl
case 'win32-archive':
downloadSegment = architecture === DownloadArchitecture.ARM64 ? 'win32-arm64-archive' : 'win32-archive';
break;
case 'linux-x64':
downloadSegment = architecture === DownloadArchitecture.ARM64 ? 'linux-arm64' : 'linux-x64';
break;
default:
downloadSegment = platform;
break;
Expand Down

0 comments on commit 56c15ce

Please sign in to comment.