eden/tools/cpm-hash.sh
Caio Oliveira 3f90405749
All checks were successful
eden-license / license-header (pull_request) Successful in 54s
[license] include .ps1, improve commit message and shebang first
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2025-09-13 00:49:13 +02:00

7 lines
221 B
Bash
Executable file

#!/bin/sh
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
SUM=$(wget -q https://github.com/"$1"/archive/"$2".zip -O - | sha512sum)
echo "$SUM" | cut -d " " -f1