Add GameType filter, and add ForgeAPI Verify Files to validate Mod Downloads (#1337)

Co-authored-by: christopher blodgett <christopher.blodgett@gmail.com>
This commit is contained in:
chblodg
2022-02-08 17:24:38 -08:00
committed by GitHub
parent 4cb227629f
commit a57adc04ff
18 changed files with 119 additions and 27 deletions

View File

@@ -190,13 +190,13 @@ function get() {
function isFamily() {
for f in "${@}"; do
if [[ $FAMILY == "$f" ]]; then
if [[ ${FAMILY^^} == "${f^^}" ]]; then
return 0
fi
done
return 1
}
function isType() {
for t in "${@}"; do
# shellcheck disable=SC2153