Hardcoded the version of NWjs to 0.55.0 in the build scripts, as the latest version cause some problems.

This commit is contained in:
Akshay Joshi
2021-09-28 10:07:59 +05:30
parent 483e2ca8d0
commit f6a9af0aa4
3 changed files with 19 additions and 7 deletions

View File

@@ -32,7 +32,10 @@ _build_runtime() {
# YARN END
# WGET:
NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
# Comment out the below line as the latest version (0.57.0) having some
# problem, so for the time being hardcoded the version to 0.55.0
# NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
NW_VERSION="0.55.0"
pushd "${BUILD_ROOT}" > /dev/null
while true;do
wget https://dl.nwjs.io/v${NW_VERSION}/nwjs-v${NW_VERSION}-osx-x64.zip && break
@@ -460,4 +463,4 @@ _notarize_pkg() {
fi
echo "Notarization completed successfully."
}
}