From 42255e2b4123715ac9d26e187da0518befe7a42b Mon Sep 17 00:00:00 2001 From: Marc Froehlich Date: Mon, 6 Jul 2026 23:33:54 +0200 Subject: [PATCH] Add direct download links for release assets --- website/src/_data/downloads.js | 67 +++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 18 deletions(-) diff --git a/website/src/_data/downloads.js b/website/src/_data/downloads.js index e028ffb..b42dca0 100644 --- a/website/src/_data/downloads.js +++ b/website/src/_data/downloads.js @@ -1,37 +1,68 @@ +const latestTag = "v1.41.0"; +const base = `https://github.com/praktimarc/kst4contest/releases/download/${latestTag}`; + module.exports = [ { os: "Windows", - format: "ZIP", + format: "ZIP x64", icon: "🪟", recommended: true, - url: "https://github.com/praktimarc/kst4contest/releases/latest" - }, - { - os: "macOS", - format: "DMG", - icon: "🍎", - recommended: false, - url: "https://github.com/praktimarc/kst4contest/releases/latest" + url: `${base}/praktiKST-${latestTag}-windows-x64.zip` }, { os: "Linux", - format: "AppImage / DEB / RPM / Arch", + format: "AppImage x86_64", icon: "🐧", - recommended: false, - url: "https://github.com/praktimarc/kst4contest/releases/latest" + recommended: true, + url: `${base}/KST4Contest-${latestTag}-linux-x86_64.AppImage` }, { - os: "Flatpak", - format: "flatpakref", + os: "Debian / Ubuntu", + format: "DEB amd64", icon: "📦", recommended: false, - url: "https://github.com/praktimarc/kst4contest/releases/latest" + url: `${base}/KST4Contest-${latestTag}-debian-amd64.deb` }, { - os: "Manual", - format: "PDF EN/DE", + os: "Fedora", + format: "RPM x86_64", + icon: "📦", + recommended: false, + url: `${base}/KST4Contest-${latestTag}-fedora-x86_64.rpm` + }, + { + os: "Arch Linux", + format: "pkg.tar.zst", + icon: "📦", + recommended: false, + url: `${base}/KST4Contest-${latestTag}-archlinux-x86_64.pkg.tar.zst` + }, + { + os: "macOS Apple Silicon", + format: "DMG arm64", + icon: "🍎", + recommended: false, + url: `${base}/KST4Contest-${latestTag}-macos-arm64.dmg` + }, + { + os: "macOS Intel", + format: "DMG x86_64", + icon: "🍎", + recommended: false, + url: `${base}/KST4Contest-${latestTag}-macos-x86_64.dmg` + }, + { + os: "Manual English", + format: "PDF", icon: "📘", recommended: false, - url: "https://github.com/praktimarc/kst4contest/releases/latest" + url: `${base}/KST4Contest-${latestTag}-manual-en.pdf` + }, + { + os: "Manual German", + format: "PDF", + icon: "📘", + recommended: false, + url: `${base}/KST4Contest-${latestTag}-manual-de.pdf` } ]; \ No newline at end of file