Pin the electron version to 33.3.2 for RHEL 8

pull/8517/head
Akshay Joshi 2025-03-05 12:37:50 +05:30
parent cf2328d2cd
commit d7faa85338
1 changed files with 5 additions and 0 deletions

View File

@ -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