From 547f3f0497a9128da97dd9942f75ffd1ff61101c Mon Sep 17 00:00:00 2001 From: Tim deBoer Date: Thu, 15 Feb 2024 16:52:55 -0500 Subject: [PATCH] chore: update arch to match building images Signed-off-by: Tim deBoer --- src/build-disk-image.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build-disk-image.ts b/src/build-disk-image.ts index b608b8a2..927cc045 100644 --- a/src/build-disk-image.ts +++ b/src/build-disk-image.ts @@ -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', @@ -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();