File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export type PackageSpec = string
15
15
// Supported distribution formats
16
16
export type SupportedFormat = 'tar.xz' | 'tar.gz'
17
17
export type SupportedPlatform = 'darwin' | 'linux' | 'windows'
18
- export type SupportedArchitecture = 'x86_64 ' | 'aarch64' | 'armv7l'
18
+ export type SupportedArchitecture = 'x86-64 ' | 'aarch64' | 'armv7l'
19
19
20
20
/**
21
21
* Configuration for the package manager
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export function getPlatform(): SupportedPlatform {
63
63
export function getArchitecture ( ) : SupportedArchitecture {
64
64
const nodeArch = arch ( )
65
65
switch ( nodeArch ) {
66
- case 'x64' : return 'x86_64 '
66
+ case 'x64' : return 'x86-64 '
67
67
case 'arm64' : return 'aarch64'
68
68
case 'arm' : return 'armv7l'
69
69
default : throw new Error ( `Unsupported architecture: ${ nodeArch } ` )
You can’t perform that action at this time.
0 commit comments