From 86182a7db99eed55a6242e43facd59fc60d2714f Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sun, 12 Feb 2023 11:17:57 -0300 Subject: [PATCH] Check YoloRT checksum before building --- plugins/windows-notification/prepare-yolort.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/windows-notification/prepare-yolort.sh b/plugins/windows-notification/prepare-yolort.sh index 8d6e95c8..5d4ac322 100644 --- a/plugins/windows-notification/prepare-yolort.sh +++ b/plugins/windows-notification/prepare-yolort.sh @@ -5,6 +5,7 @@ export ORIGINAL_FOLDER=${PWD} mkdir -p yolort && \ cd yolort && \ curl -L -O https://github.com/LAGonauta/YoloRT/releases/download/v1.0.0/${FILE_NAME} && \ + echo "675a6d943c97b4acdbfaa473f68d3241d1798b31a67b5529c8d29fc0176a1707 ${FILE_NAME}" | sha256sum --check --status && \ unzip -o ${FILE_NAME} && \ rm ${FILE_NAME} && \ cd ${ORIGINAL_FOLDER}