diff --git a/index.html b/index.html index 5e2aa15e6..0b32ce858 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,11 @@

The V Programming Language

Linux 6.6MB + + + Linux arm64 + 6.98MB + macOS @@ -78,11 +83,23 @@

The V Programming Language

dlicon.outerHTML = '' dla.href = "https://github.com/vlang/v/releases/latest/download/v_windows.zip" } else if (!os && /Linux/.test(platform)) { + var arch64Archs =['arm64','aarch64','armv8l']; + if(arch64Archs.some(function(arch) { return platform.indexOf(arch)!== -1})){ + document.getElementById('dl_linux_arm64').style.display = 'none' + dlname.innerText = 'Download for Linux arm64' + dlsize.innerText = 'v0.2 - 6.98MB' + dlicon.outerHTML = '' + dla.href = "https://github.com/vlang/v/releases/latest/download/v_linux_arm64.zip" + + } + else + { document.getElementById('dl_linux').style.display = 'none' dlname.innerText = 'Download for Linux' dlsize.innerText = 'v0.2 - 6.6MB' dlicon.outerHTML = '' dla.href = "https://github.com/vlang/v/releases/latest/download/v_linux.zip" + } }