From 391684c7e3652ba4ddce547e7d6dbaaff31afc27 Mon Sep 17 00:00:00 2001 From: Arvind Kumar C Date: Wed, 21 Oct 2015 19:57:21 +0530 Subject: [PATCH] Add bundle ID and version for OSX --- gruntfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gruntfile.js b/gruntfile.js index c79888d..910392d 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -1,5 +1,6 @@ module.exports = function (grunt) { require('load-grunt-tasks')(grunt) + pkg = require('./package.json') grunt.initConfig({ @@ -19,9 +20,11 @@ module.exports = function (grunt) { electron: { osx: { options: { - name: 'Docker Menu', + name: 'DockerMenu-' + pkg.version + '-Mac', dir: 'build/app', icon: 'images/DockerMenu.icns', + 'app-bundle-id': 'dockermenu', + 'app-version': pkg.version, asar: true, overwrite: true, out: 'build',