From ba9c7736dc236b1a26c5f39dc36549317203482a Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 31 Mar 2018 00:50:00 +0900 Subject: [PATCH] Add explaination how to create App Store pkg in readme --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f04ae64c..8c257c23 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,8 @@ $ npm run dev ``` ## Release - -When you build release packages, please use `electron-builder`. Now I don't use `electron-packager`. +### Binary +When you build release packages, please use `electron-builder`. ```bash # for linux @@ -70,5 +70,25 @@ $ npm run build:linux $ npm run build:mac ``` +### AppStore + +Please prepare certificates on your Apple developer console. The following keys are required: + +- Mac App Distribution: `3rd Party Mac Developer Application: NAME (TEAM_ID)` +- Mac Installer Distribution: `3rd Party Mac Developer Installer: NAME (TEAM_ID)` + +and register your KeyChain. + +Then, create a Mac App ID like `org.whalebird.desktop`. + +```bash +$ npm run build:mas + +# This command automatically loads the certificates from you keychain. +$ ./appStore.sh +``` + +After that, the `.pkg` file is created under `./packages`. + # License The software is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).