From fcf8853ee61667f5e2529f9df4c18e2f51f20d43 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 24 Jun 2015 16:47:45 -0500 Subject: [PATCH] add build:nix script --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e32a14a..da4c59b 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,9 @@ "clean:win": "rm -Rf ./dist/win", "build": "npm run clean && npm run build:osx && npm run build:win", "build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/scuttlebot.icns", - "build:osx": "electron-packager ./ \"Scuttlebot\" --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns", - "build:win": "electron-packager ./ \"Scuttlebot\" --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/scuttlebot.ico", + "build:osx": "electron-packager ./ Scuttlebot --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns", + "build:win": "electron-packager ./ Scuttlebot --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/scuttlebot.ico", + "build:nix": "electron-packager ./ scuttlebot --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/scuttlebot.icns", "pack": "npm run pack:osx && npm run pack:win", "pack:osx": "electron-builder \"dist/osx/Scuttlebot.app\" --platform=osx --out=\"dist/osx\" --config=packager.json", "pack:win": "electron-builder \"dist/win/Scuttlebot-win32\" --platform=win --out=\"dist/win\" --config=packager.json"