From d7faa85338fe266392835e84537e3aa2adcb703b Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 5 Mar 2025 12:37:50 +0530 Subject: [PATCH] Pin the electron version to 33.3.2 for RHEL 8 --- pkg/linux/build-functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/linux/build-functions.sh b/pkg/linux/build-functions.sh index 586aee220..4c951f57c 100644 --- a/pkg/linux/build-functions.sh +++ b/pkg/linux/build-functions.sh @@ -141,6 +141,11 @@ _build_runtime() { fi ELECTRON_VERSION="$(npm info electron version)" + # Pin the electron version to "33.3.2" due to the following issue + # https://github.com/electron/electron/issues/45884 + if [ "$1" == 'redhat' ] && [ "${OS_VERSION}" == "8" ]; then + ELECTRON_VERSION="33.3.2" + fi pushd "${BUILDROOT}" > /dev/null || exit while true;do