From e30e6fe1131a8801f37db9afaea396241075b056 Mon Sep 17 00:00:00 2001 From: glidergeek Date: Sun, 18 Aug 2024 21:35:20 +0200 Subject: [PATCH] fix typo --- latestExec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/latestExec.js b/latestExec.js index 5c31161..9d74d6a 100644 --- a/latestExec.js +++ b/latestExec.js @@ -17,7 +17,7 @@ function setExecutables(){ for (asset_number in release.assets){ asset = release.assets[asset_number]; - if (asset.name.substring(0, 3) == "macOS 13") { + if (asset.name.substring(0, 3) == "mac") { mac_url = asset.browser_download_url; } else if (asset.name.substring(0, 7) == "windows") { windows_url = asset.browser_download_url; @@ -26,7 +26,7 @@ function setExecutables(){ } } - document.getElementById("exec_mac").innerHTML = executable_name + " mac"; + document.getElementById("exec_mac").innerHTML = executable_name + " macOS 13"; document.getElementById("exec_mac").href = mac_url; document.getElementById("exec_windows").innerHTML = executable_name + " windows";