diff --git a/Make.bat b/Make.bat index 48cef8949..d1eef782d 100644 --- a/Make.bat +++ b/Make.bat @@ -274,10 +274,15 @@ REM Main build sequence Ends REM YARN END REM WGET - FOR /f "tokens=2 delims='" %%i IN ('yarn info nw ^| findstr "latest: "') DO SET "NW_VERSION=%%i" - :GET_NW - 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 + 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 + + REM Remove the above commented code once below issue is fixed + REM Pining NWjs because of https://github.com/nwjs/nw.js/issues/8039 in 0.74.0 + SET "NW_VERSION=0.72.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" tar -C "%TMPDIR%" -xvf "%TMPDIR%\nwjs-v%NW_VERSION%-win-x64.zip" || EXIT /B 1 REM WGET END diff --git a/pkg/linux/build-functions.sh b/pkg/linux/build-functions.sh index d73920371..62d8dc882 100644 --- a/pkg/linux/build-functions.sh +++ b/pkg/linux/build-functions.sh @@ -141,7 +141,10 @@ _build_runtime() { # YARN END # WGET: - NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}') + # NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}') + # Remove the above commented code once below issue is fixed + # Pining NWjs because of https://github.com/nwjs/nw.js/issues/8039 in 0.74.0 + NW_VERSION="0.72.0" pushd "${BUILDROOT}" > /dev/null || exit while true;do diff --git a/pkg/mac/build-functions.sh b/pkg/mac/build-functions.sh index 0eb2e2a4f..16a3261d9 100644 --- a/pkg/mac/build-functions.sh +++ b/pkg/mac/build-functions.sh @@ -34,7 +34,10 @@ _build_runtime() { # YARN END # WGET: - NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}') + # NW_VERSION=$(yarn info nw | grep latest | awk -F "'" '{ print $2}') + # Remove the above commented code once below issue is fixed + # Pining NWjs because of https://github.com/nwjs/nw.js/issues/8039 in 0.74.0 + NW_VERSION="0.72.0" pushd "${BUILD_ROOT}" > /dev/null || exit while true;do