Update this

This commit is contained in:
Lncvrt committed 2026-02-27 12:39:15 -07:00
1 parent b8a3de36a6
commit a2daf2bbfc
1 file changed
+4 -4
@@ -20,7 +20,7 @@ export const handler = async (context: Context) => {
let platString = null let platString = null
if (!showAll) { if (!showAll) {
if (platform == 'windows') { if (platform == 'windows') {
if (arch == 'x86_64') platString = 'windows' if (arch == 'x86_64') platString = 'windows-x64'
else if (arch == 'aarch64') platString = 'windows-arm64' else if (arch == 'aarch64') platString = 'windows-arm64'
else { else {
connection.end() connection.end()
@@ -30,7 +30,7 @@ export const handler = async (context: Context) => {
) )
} }
} else if (platform == 'linux') { } else if (platform == 'linux') {
if (arch == 'x86_64') platString = 'linux' if (arch == 'x86_64') platString = 'linux-x64'
else { else {
connection.end() connection.end()
return jsonResponse( return jsonResponse(
@@ -39,8 +39,8 @@ export const handler = async (context: Context) => {
) )
} }
} else if (platform == 'macos') { } else if (platform == 'macos') {
if (arch == 'x86_64') platString = 'macos-intel' if (arch == 'x86_64') platString = 'macos-x64'
else if (arch == 'aarch64') platString = 'macos-silicon' else if (arch == 'aarch64') platString = 'macos-arm64'
else { else {
connection.end() connection.end()
return jsonResponse( return jsonResponse(