From b1e447ad79ffa1bd411d8257320f6f94fb619b2e Mon Sep 17 00:00:00 2001 From: kxxt Date: Thu, 10 Aug 2023 07:50:49 +0800 Subject: [PATCH] upgpatch: code - Use sha256sum instead of invoking node (Thanks Eric Long for pointing it out) - Avoid using CARCH because it's techincally not actually CARCH. - Fix checksum validation logic. --- code/riscv64.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/riscv64.patch b/code/riscv64.patch index 7d1ef35c3..4831936e2 100644 --- a/code/riscv64.patch +++ b/code/riscv64.patch @@ -38,10 +38,10 @@ + + # The build process wants a zipped electron, let's construct one from system electron and put it in cache. + local _electron_ver=$(> build/checksums/electron.txt + local _cache_dir="$HOME/.cache/electron/$_hash" + mkdir -p "$_cache_dir" && mv "/tmp/$_electron_zip" "$_cache_dir" +