Skip to content

Commit e3237c2

Browse files
committed
chore: wip
1 parent 53c4292 commit e3237c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/launchpad/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type PackageSpec = string
1515
// Supported distribution formats
1616
export type SupportedFormat = 'tar.xz' | 'tar.gz'
1717
export type SupportedPlatform = 'darwin' | 'linux' | 'windows'
18-
export type SupportedArchitecture = 'x86_64' | 'aarch64' | 'armv7l'
18+
export type SupportedArchitecture = 'x86-64' | 'aarch64' | 'armv7l'
1919

2020
/**
2121
* Configuration for the package manager

packages/launchpad/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function getPlatform(): SupportedPlatform {
6363
export function getArchitecture(): SupportedArchitecture {
6464
const nodeArch = arch()
6565
switch (nodeArch) {
66-
case 'x64': return 'x86_64'
66+
case 'x64': return 'x86-64'
6767
case 'arm64': return 'aarch64'
6868
case 'arm': return 'armv7l'
6969
default: throw new Error(`Unsupported architecture: ${nodeArch}`)

0 commit comments

Comments
 (0)