Always use latest version of Electron in package.json and in builds

This commit is contained in:
Aditya Toshniwal
2024-08-01 16:03:05 +05:30
parent ca7e93cc2c
commit 546806c40c
5 changed files with 9 additions and 9 deletions

View File

@@ -140,7 +140,7 @@ _build_runtime() {
ELECTRON_ARCH="arm64"
fi
ELECTRON_VERSION=$(yarn info electron | grep latest | awk -F "'" '{ print $2}')
ELECTRON_VERSION="$(npm info electron version)"
pushd "${BUILDROOT}" > /dev/null || exit
while true;do