Hide MSVC builds on the downloads page.

This commit is contained in:
chris062689 2017-09-05 23:56:02 -04:00
parent b87030a8cb
commit d0f1cccd4c

View File

@ -88,6 +88,9 @@ The Bleeding Edge build of Citra is the same as our nightly builds, with additio
if (asset.name.includes('.7z')) return;
if (asset.name.includes('RELEASES')) return;
/* We only want to provide mingw builds on the downloads page. */
if (asset.name.includes('-msvc-')) return;
let env_icon = './images/icons/file.png';
if (asset.name.includes('windows')) env_icon = '/images/icons/windows.png';
else if (asset.name.includes('exe')) env_icon = '/images/icons/windows.png';