From 1980a3de94e01a6a2f60ed58b5a692c98b7aa625 Mon Sep 17 00:00:00 2001 From: ale-batt Date: Fri, 20 Nov 2015 17:37:31 +0100 Subject: [PATCH] buildwin for window --- .gitignore | 1 + package.json | 3 ++- readme.md | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 687ad0e..e1c654e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules Multi_Messenger-darwin-x64 +Multi_Messenger-win32-ia32 diff --git a/package.json b/package.json index 30de849..344173c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "sources/main.js", "scripts": { "start": "electron .", - "build": "electron-packager . Multi_Messenger --ignore=node_modules/electron-* --platform=darwin --arch=x64 --version=0.27.2 && cp assets/logo.icns Multi_Messenger-darwin-x64/Multi_Messenger.app/Contents/Resources/atom.icns" + "build": "electron-packager . Multi_Messenger --ignore=node_modules/electron-* --platform=darwin --arch=x64 --version=0.27.2 && cp assets/logo.icns Multi_Messenger-darwin-x64/Multi_Messenger.app/Contents/Resources/atom.icns", + "buildwin": "electron-packager . Multi_Messenger --ignore=node_modules/electron-* --platform=win32 --arch=ia32 --version=0.30.0 && cp assets/logo.icns Multi_Messenger-darwin-x64/Multi_Messenger.app/Contents/Resources/atom.icns" }, "repository": { "type": "git", diff --git a/readme.md b/readme.md index 525dfeb..6fe20ca 100644 --- a/readme.md +++ b/readme.md @@ -15,6 +15,13 @@ WhatsApp, Facebook and Slack desktop client for OSX and Windows (didn't try yet) npm install npm start ``` +or to buid +``` +# Build on OSX +npm run build +# Build on Window +npm run buildwin +``` ## Possibility - Change Facebook to WhatsApp to Slack