'use strict';

var gulp = require('gulp');

gulp.task('release', function() {
    var NwBuilder = require('node-webkit-builder');
    var nw = new NwBuilder({
        files: ['./css/**/*.*', './fonts/**/*.*', './img/**/*.*', './js/**/*.*', './node_modules/**/*.*', './index.html', './package.json'],
        version: 'v0.11.4',
        winIco: './img/favicon.png',
        macZip: true,
        platforms: ['osx32', 'osx64', 'win32', 'win64']
    });

    nw.build().then(function() {
        console.log('all done!');
    }).catch(function(error) {
        console.error(error);
    });
});

@@ -58,32 +58,33 @@
 lease', function
+ 
 () %7B%0A    var NwB
@@ -326,45 +326,8 @@
 4',%0A
-        winIco: './img/favicon.png',%0A
     
@@ -344,16 +344,16 @@
 : true,%0A
+
         
@@ -437,16 +437,17 @@
 function
+ 
 () %7B%0A   
@@ -498,16 +498,17 @@
 function
+ 
 (error) 
@@ -547,12 +547,11 @@
     %7D);%0A
+
 %7D);
-%0A

update gulpfile