Skip to content

Commit

Permalink
chore: update arch to match building images
Browse files Browse the repository at this point in the history
Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim committed Feb 15, 2024
1 parent a0e661f commit 547f3f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build-disk-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export async function buildDiskImage(imageData: unknown, history: History) {

const selectionArch = await extensionApi.window.showQuickPick(
[
{ label: 'ARM®', detail: 'ARM® 64 / aarch64 (arm64)', format: 'arm64' },
{ label: 'AMD64', detail: 'AMD 64 / x86-64 (amd64)', format: 'amd64' },
{ label: 'ARM64', detail: 'ARM® aarch64 systems', arch: 'arm64' },
{ label: 'AMD64', detail: 'Intel and AMD x86_64 systems', arch: 'amd64' },
],
{
title: 'Select the architecture',
Expand All @@ -81,7 +81,7 @@ export async function buildDiskImage(imageData: unknown, history: History) {
telemetryLogger.logUsage('buildDiskImage', telemetryData);
return;
}
const selectedArch = selectionArch.format;
const selectedArch = selectionArch.arch;
telemetryData.arch = selectedArch;

const location = history.getLastLocation() || os.homedir();
Expand Down

0 comments on commit 547f3f0

Please sign in to comment.