Remove the hardcoded version of NWjs from build scripts.

This commit is contained in:
Akshay Joshi
2021-12-09 10:39:21 +05:30
parent 3a87e05f80
commit 4ee9a95360
5 changed files with 10 additions and 20 deletions

View File

@@ -33,10 +33,8 @@ _build_runtime() {
# YARN END
# WGET:
# 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"
NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
pushd "${BUILD_ROOT}" > /dev/null
while true;do
wget https://dl.nwjs.io/v${NW_VERSION}/nwjs-v${NW_VERSION}-osx-x64.zip && break