download: Use correct icon for macos build

This commit is contained in:
FearlessTobi 2023-08-27 02:22:35 +02:00
parent a5989e8661
commit f24b12083e

View File

@ -49,7 +49,7 @@ function getRelease(v, count = 5) {
let env_icon = "/images/icons/file.png"; let env_icon = "/images/icons/file.png";
if (is_windows) env_icon = "/images/icons/windows.png"; if (is_windows) env_icon = "/images/icons/windows.png";
else if (asset.name.includes("osx")) else if (asset.name.includes("macos"))
env_icon = "/images/icons/apple.png"; env_icon = "/images/icons/apple.png";
else if (asset.name.includes("linux")) else if (asset.name.includes("linux"))
env_icon = "/images/icons/linux.png"; env_icon = "/images/icons/linux.png";