Skip to content

Commit a03077e

Browse files
committed
fix: x64
1 parent 56ece98 commit a03077e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function run() {
2222
}
2323

2424
export function getURL(version: string): string {
25-
const arch = os.arch()
25+
const arch = os.arch() == 'x64' ? 'amd64' : os.arch()
2626
switch (os.type()) {
2727
case 'Linux':
2828
return util.format('%s/v%s/helmwave_%s_linux_%s.tar.gz',downloadUrl, version, version, arch)

0 commit comments

Comments
 (0)