diff --git a/assets/logo.icns b/assets/logo.icns new file mode 100644 index 0000000..a191921 Binary files /dev/null and b/assets/logo.icns differ diff --git a/assets/logo.ico b/assets/logo.ico new file mode 100644 index 0000000..82a2b1e Binary files /dev/null and b/assets/logo.ico differ diff --git a/index.html b/index.html index 9859bcb..c334043 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +
diff --git a/index.js b/index.js index 7ffff45..b9eb139 100644 --- a/index.js +++ b/index.js @@ -30,17 +30,16 @@ var mb = Menubar({ dir: __dirname, preloadWindow: true, width: 400, //400 - height: 600, - resizable: true + height: 400, + resizable: false }); mb.on('ready', function () { }); mb.on('after-create-window', function () { - mb.window.setResizable(false); - mb.window.openDevTools({ - detach: false - }); + // mb.window.openDevTools({ + // detach: false + // }); }); diff --git a/package.json b/package.json index ccc4fc9..635653a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "", "main": "index.js", "scripts": { - "start": "gulp" + "start": "gulp", + "build-osx": "electron-packager compile/ Presets --platform=darwin --arch=x64 --version=0.30.0 --icon=assets/logo.icns --overwrite", + "build-win": "electron-packager compile/ Presets --platform=win32 --arch=x64 --version=0.30.0 --icon=assets/logo.ico --overwrite" }, "repository": { "type": "git", @@ -28,7 +30,7 @@ }, "devDependencies": { "browserify": "^10.1.3", - "electron-prebuilt": "^0.28.1", + "electron-prebuilt": "^0.30.0", "gulp": "^3.8.11", "gulp-atom": "^0.1.0", "gulp-install": "^0.4.0",