From c9a5a7def5d923b0903cdc40f734756080a50c8b Mon Sep 17 00:00:00 2001 From: lat9nq Date: Fri, 15 Jan 2021 13:27:57 -0500 Subject: [PATCH] downloads: Don't include .zsync files (#249) Prevents the site from showing both AppImage and AppImage.zsync files for Linux. --- src/js/downloads.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/downloads.js b/src/js/downloads.js index 70b8873c..c6d08516 100644 --- a/src/js/downloads.js +++ b/src/js/downloads.js @@ -50,6 +50,7 @@ function releaseCallback(v, count, e) { if (asset.name.includes('RELEASES')) return; if (asset.name.includes('.tar.xz')) return; if (asset.name.includes('-debugsymbols.zip')) return; + if (asset.name.includes('.zsync')) return; /* We only want to provide the msvc builds on the downloads page for Windows. */ if (asset.name.includes('-mingw-')) return;