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