From 0148054229e2601246f0b1287936fe615bca5955 Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra Date: Wed, 2 Aug 2023 20:10:01 +0530 Subject: [PATCH] v4.3.4 --- changelog.md | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- src/index.js | 2 +- test/fixture/demo.js | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index 9b9e46c88..365b34c6e 100644 --- a/changelog.md +++ b/changelog.md @@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [4.3.4] - 2023-08-02 + ## Changed +- Conditonally set Icon for Windows build. - Refactor `get` mode into a single file. ## [4.3.3] - 2023-07-25 diff --git a/package-lock.json b/package-lock.json index fc59d8728..5dcd3aee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nw-builder", - "version": "4.3.3", + "version": "4.3.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nw-builder", - "version": "4.3.3", + "version": "4.3.4", "license": "MIT", "dependencies": { "cli-progress": "^3.12.0", diff --git a/package.json b/package.json index d6d8ce9cc..ae8e3c786 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nw-builder", - "version": "4.3.3", + "version": "4.3.4", "description": "Build NW.js desktop applications for MacOS, Windows and Linux.", "keywords": [ "NW.js", diff --git a/src/index.js b/src/index.js index 687ab4df5..d0fdb6300 100644 --- a/src/index.js +++ b/src/index.js @@ -145,7 +145,7 @@ const nwbuild = async (options) => { options.glob, ); } - if (options.mode === "build") { + else if (options.mode === "build") { await build( options.glob === true ? files : options.srcDir, nwDir, diff --git a/test/fixture/demo.js b/test/fixture/demo.js index 7e302d32f..718ba0466 100644 --- a/test/fixture/demo.js +++ b/test/fixture/demo.js @@ -2,7 +2,7 @@ import nwbuild from "nw-builder"; await nwbuild({ mode: "build", - version: "0.77.0", + version: "0.78.1", srcDir: "app", outDir: "out", glob: false,