Browse Source

fix(linux): update riscv64 electron [skip ci]

Baptiste Augrain 6 months ago
parent
commit
52601b91bf
3 changed files with 19 additions and 3 deletions
  1. 1 3
      electron_linux_riscv64.sh
  2. 11 0
      electron_linux_riscv64.sha256sums
  3. 7 0
      package_linux_bin.sh

+ 1 - 3
electron_linux_riscv64.sh

@@ -2,7 +2,5 @@
 
 set -ex
 
-export ELECTRON_VERSION="32.2.1"
+export ELECTRON_VERSION="32.2.5"
 export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}.riscv1"
-
-echo "03b1b478ab7b9d40da5c47edef0bbeeb528a8bed5335018ff38e513b7df43c7f *electron-v${ELECTRON_VERSION}-linux-riscv64.zip" >> build/checksums/electron.txt

+ 11 - 0
electron_linux_riscv64.sha256sums

@@ -0,0 +1,11 @@
+903fc8a4d1649d491a80e8a1b417f9604352188aa64acb0ec2bfbe7035667cbd *chromedriver-v32.2.5-linux-riscv64.zip
+78277b6fe477fb9dedb2557ce235d8b33e57fa1226eea4484284ae8bc021053d *electron-v32.2.5-linux-riscv64-debug.tar.zst
+e6d9b849fec2df41f9ee858e20da25d4c4bf2033c068e21ee5600f35e4aa0271 *electron-v32.2.5-linux-riscv64-symbols.tar.zst
+af42d570c50fd5e0294a4f9721bf056dd0d8274ba72dd28f08244ff518416ecd *electron-v32.2.5-linux-riscv64.zip
+996273aa6758258d1d5c5d6d7f45d9f0b24e443de27e4c09ec9d2cd23e003711 *ffmpeg-v32.2.5-linux-riscv64.zip
+6b51c02c6714dd1278932c20e05b54b2890aa880070f24b7e7a5fbe09b598ea6 *hunspell-dictionaries.zip
+facc5d45c53672b84a97e28c6415ad2ab8c35474d447ddb6dbb95d43794d5644 *libcxx-headers.zip
+055bc4b6f2fb6feaf2d3802243a0a763536c5e94cbd4fdd1ebbc2f9979f5bfae *libcxx-objects-v32.2.5-linux-riscv64.zip
+984fa5b7d0a5752c17d3f02f7341c691b5aa2f3badb0965c318290562fe35471 *libcxxabi-headers.zip
+b63b3cbcbbc5c019ee284724c95d2f391b123d516f1320137d3fbcb06b2f7271 *mksnapshot-v32.2.5-linux-riscv64.zip
+ecc04b500a094da5ed21d22b20047698fa03e632e0f034651e14e25a07be4036 *node-v32.2.5-headers.tar.gz

+ 7 - 0
package_linux_bin.sh

@@ -32,6 +32,13 @@ elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
 fi
 
 if [[ -f "../electron_linux_${VSCODE_ARCH}.sh" ]]; then
+  # add newline at the end of the file
+  echo "" >> build/checksums/electron.txt
+
+  if [[ -f "../electron_linux_${VSCODE_ARCH}.sha256sums" ]]; then
+    cat "../electron_linux_${VSCODE_ARCH}.sha256sums" >> build/checksums/electron.txt
+  fi
+
   # shellcheck disable=SC1090
   source "../electron_linux_${VSCODE_ARCH}.sh"