Skip to content

Commit d7faa85

Browse files
committed
Pin the electron version to 33.3.2 for RHEL 8
1 parent cf2328d commit d7faa85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/linux/build-functions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ _build_runtime() {
141141
fi
142142

143143
ELECTRON_VERSION="$(npm info electron version)"
144+
# Pin the electron version to "33.3.2" due to the following issue
145+
# https://github.com/electron/electron/issues/45884
146+
if [ "$1" == 'redhat' ] && [ "${OS_VERSION}" == "8" ]; then
147+
ELECTRON_VERSION="33.3.2"
148+
fi
144149

145150
pushd "${BUILDROOT}" > /dev/null || exit
146151
while true;do

0 commit comments

Comments
 (0)