diff --git a/cache/0.12.3/osx64/nwjs.app/Contents/Resources/nw.icns b/cache/0.12.3/osx64/nwjs.app/Contents/Resources/nw.icns index 4b045fb4..0d59f618 100644 Binary files a/cache/0.12.3/osx64/nwjs.app/Contents/Resources/nw.icns and b/cache/0.12.3/osx64/nwjs.app/Contents/Resources/nw.icns differ diff --git a/package.json b/package.json index 610f8c66..3eb4b0c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Grunt-builder", - "version": "0.0.1", + "version": "0.6.5", "main": "app/index.html", "description": "Soundnode App is the Soundcloud for desktop", "scripts": { @@ -18,14 +18,14 @@ "babel-preset-stage-0": "^6.0.15", "eslint": "^1.8.0", "eslint-plugin-react": "^3.7.1", - "grunt": "^0.4.5", - "grunt-contrib-clean": "^0.6.0", - "grunt-contrib-jshint": "^0.11.3", - "grunt-contrib-watch": "^0.6.1", - "grunt-nw-builder": "^2.0.0", - "grunt-sass": "^1.0.0", - "grunt-shell": "^1.1.2", - "load-grunt-config": "^0.18.0", + "grunt": "^1.0.1", + "grunt-contrib-clean": "^1.0.0", + "grunt-contrib-jshint": "^1.0.0", + "grunt-contrib-watch": "^1.0.0", + "grunt-nw-builder": "^2.0.3", + "grunt-sass": "^1.2.0", + "grunt-shell": "^1.3.0", + "load-grunt-config": "^0.19.2", "time-grunt": "^1.2.2", "webpack": "^1.12.2" }, @@ -36,6 +36,6 @@ "dependencies": { "react": "^0.14.2", "react-dom": "^0.14.2", - "universal-analytics": "^0.3.9" + "universal-analytics": "^0.3.11" } } diff --git a/tasks/nwjs.js b/tasks/nwjs.js index 5b84a9ce..a44d8b93 100644 --- a/tasks/nwjs.js +++ b/tasks/nwjs.js @@ -1,15 +1,27 @@ +// test if OS is windows +var isWin = /^win/.test(process.platform); + var config = { options: { buildDir: '<%= settings.dist %>', // Where the build version of my node-webkit app is saved macIcns: '<%= settings.app %>/soundnode.icns', - downloadUrl: 'http://www.soundnodeapp.com/build/', - platforms: ['linux32', 'linux64', 'osx64', 'win32'], - version: '0.12.3' + winIco: '<%= settings.app %>/soundnode.ico', + platforms: [ + 'linux32', + 'linux64', + 'osx64', + 'win32' + ], + version: '0.12.3', + appVersion: null, // default to package.json version + cacheDir: 'cache', + zip: true }, src: [ '<%= settings.app %>/index.html', '<%= settings.app %>/package.json', '<%= settings.app %>/soundnode.icns', + '<%= settings.app %>/soundnode.ico', '<%= settings.app %>/soundnode.png', '<%= settings.app %>/views/**/*', '<%= settings.app %>/public/js/**/*', @@ -19,13 +31,6 @@ var config = { './node_modules/universal-analytics/**/*', './node_modules/mpris-service/**/*' ] - }; - -// test if OS is windows -var isWin = /^win/.test(process.platform); - -if ( isWin ) { - config.options['winIco'] = '<%= settings.app %>/soundnode.ico'; -} +}; module.exports = config; \ No newline at end of file