Skip to content

Commit

Permalink
2.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-lynch committed Aug 14, 2016
1 parent 331a239 commit 9d1c81b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ To get around it, run `ulimit -n 1024` (or add it to your `~/.bash_profile`). Fo
See [CONTRIBUTING.md](CONTRIBUTING.md).

## Release History
- 2016-08-14 `2.2.7` fix for macIcns option when using NW.js 0.12.3
- 2016-07-31 `2.2.6` fix for OS X caching
- 2016-07-03 `2.2.5` fix for update-notifier usage in bin
- 2016-07-03 `2.2.4` fix for syntax error in CLI
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ NwBuilder.prototype.handleMacApp = function () {

// Let's first handle the mac icon
if(self.options.macIcns) {
if(self._version.isLegacy) {
if(semver.satisfies(self._version.version, '<=0.12.3')) {
allDone.push(Utils.copyFile(self.options.macIcns, path.resolve(self.getResourcesDirectoryPath(platform), 'nw.icns'), self));
}
else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nw-builder",
"version": "2.2.6",
"version": "2.2.7",
"description": "nw-builder",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9d1c81b

Please sign in to comment.