Skip to content

Commit 4b9768f

Browse files
authored
fix: main download button for linux incorrect (#5618)
* fix: main download button for linux incorrect Signed-off-by: Stewart X Addison <sxa@redhat.com> * Update 1 Signed-off-by: Stewart X Addison <sxa@redhat.com> --------- Signed-off-by: Stewart X Addison <sxa@redhat.com>
1 parent 562ed48 commit 4b9768f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

util/downloadUrlByOS.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export const downloadUrlByOS = (
1313
return `${baseURL}/node-${versionWithPrefix}.pkg`;
1414
case 'WIN':
1515
return `${baseURL}/node-${versionWithPrefix}-x${bitness}.msi`;
16+
case 'LINUX':
17+
return `${baseURL}/node-${versionWithPrefix}-linux-x64.tar.xz`;
1618
default:
17-
return `${baseURL}/node-${versionWithPrefix}.tar.gz`;
19+
return `${baseURL}/node-${versionWithPrefix}.tar.xz`;
1820
}
1921
};

0 commit comments

Comments
 (0)