The community has fixed the blocking issue at startup, so unpin the NWjs version and pick the latest.

This commit is contained in:
Akshay Joshi 2022-05-23 17:54:09 +05:30
parent 8f020c1ee6
commit 5f81d2b4b1
5 changed files with 11 additions and 22 deletions

View File

@ -273,15 +273,10 @@ REM Main build sequence Ends
REM YARN END REM YARN END
REM WGET REM WGET
REM Comment out the below for loop as the latest version (0.62.0) having FOR /f "tokens=2 delims='" %%i IN ('yarn info nw ^| findstr "latest: "') DO SET "NW_VERSION=%%i"
REM some problem, so for the time being hardcoded the version to 0.61.0 :GET_NW
REM FOR /f "tokens=2 delims='" %%i IN ('yarn info nw ^| findstr "latest: "') DO SET "NW_VERSION=%%i"
REM :GET_NW
REM wget https://dl.nwjs.io/v%NW_VERSION%/nwjs-v%NW_VERSION%-win-x64.zip -O "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip"
REM IF %ERRORLEVEL% NEQ 0 GOTO GET_NW
SET "NW_VERSION=0.61.0"
wget https://dl.nwjs.io/v%NW_VERSION%/nwjs-v%NW_VERSION%-win-x64.zip -O "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip" wget https://dl.nwjs.io/v%NW_VERSION%/nwjs-v%NW_VERSION%-win-x64.zip -O "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip"
IF %ERRORLEVEL% NEQ 0 GOTO GET_NW
tar -C "%TMPDIR%" -xvf "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip" || EXIT /B 1 tar -C "%TMPDIR%" -xvf "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip" || EXIT /B 1
REM WGET END REM WGET END

View File

@ -128,10 +128,7 @@ _build_runtime() {
# YARN END # YARN END
# WGET: # WGET:
# Comment out the below line as the latest version (0.62.0) having some NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
# problem, so for the time being hardcoded the version to 0.61.0
# NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
NW_VERSION="0.61.0"
pushd "${BUILDROOT}" > /dev/null pushd "${BUILDROOT}" > /dev/null
while true;do while true;do

View File

@ -33,10 +33,7 @@ _build_runtime() {
# YARN END # YARN END
# WGET: # WGET:
# Comment out the below line as the latest version (0.62.0) having some NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
# problem, so for the time being hardcoded the version to 0.61.0
# NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}')
NW_VERSION="0.61.0"
pushd "${BUILD_ROOT}" > /dev/null pushd "${BUILD_ROOT}" > /dev/null
while true;do while true;do

View File

@ -24,7 +24,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^6.3.0", "eslint": "^6.3.0",
"nw": "0.61.0" "nw": "^0.64.0"
}, },
"scripts": { "scripts": {
"linter": "yarn eslint --no-eslintrc -c .eslintrc.js --ext .js ." "linter": "yarn eslint --no-eslintrc -c .eslintrc.js --ext .js ."

View File

@ -1008,10 +1008,10 @@ number-is-nan@^1.0.0:
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=
nw@0.61.0: nw@^0.64.0:
version "0.61.0" version "0.64.1"
resolved "https://registry.yarnpkg.com/nw/-/nw-0.61.0.tgz#c35e80be4ad7a5570659796d66bdc16d11e0e890" resolved "https://registry.yarnpkg.com/nw/-/nw-0.64.1.tgz#eaf96dd22081a679316b86d31405a54b37ba7181"
integrity sha512-SazcPW9+kplf7/K2KuTaamOFGtKnnH4Gs/cHHRMf9luTkCGe2cFsnb6/fEP5xvu9tpoW9Z/oUKzj9lZ6kylFWQ== integrity sha512-+h1qQlhBdW56Xbe5EVojb2zfjo/fccM7rzecHTiNBl++FHA3nAGxn2UrwmqpUa+v/mQ5+EUFXpBlmkbl4y4fEg==
dependencies: dependencies:
chalk "~1.1.3" chalk "~1.1.3"
decompress "^4.2.0" decompress "^4.2.0"