From c1b261a2b85041693f126816de8b57f1d87d4a63 Mon Sep 17 00:00:00 2001 From: Kazato Sugimoto Date: Fri, 28 Aug 2015 12:46:07 +0900 Subject: [PATCH] Add --app-version option to electron-packager --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 56742a2..265ca4a 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "playing", - "version": "1.0.0", + "version": "0.0.1", "description": "Send what you're playing in itunes to Hipchat", "main": "main.js", "scripts": { "test": "standard", "start": "node index.js", - "build": "electron-packager ./ playing --out build/ --platform=darwin --arch=x64 --version=0.30.6 --overwrite --prune" + "build": "electron-packager ./ playing --out build/ --platform=darwin --arch=x64 --version=0.30.6 --overwrite --prune --app-version \"$(node -e \"console.log(require('./package.json').version)\")\"" }, "repository": { "type": "git",