fix(quickget): add hash verification for Archcraft

This commit is contained in:
Martin Wimpress 2026-01-24 01:26:00 +00:00 committed by Martin Wimpress
parent 5090385dbd
commit 2e5b29ad43
1 changed files with 3 additions and 0 deletions

View File

@ -1600,9 +1600,12 @@ function get_antix() {
function get_archcraft() {
local HASH=""
local ISO=""
local URL=""
URL="https://sourceforge.net/projects/archcraft/files/${RELEASE}/download"
URL="$(web_redirect "${URL}" | cut -d? -f1)"
ISO="$(basename "${URL}")"
HASH=$(web_pipe "https://sourceforge.net/projects/archcraft/files/v${RELEASE}/${ISO}.sha256sum" | cut -d' ' -f1)
echo "${URL} ${HASH}"
}