Add explaination how to create App Store pkg in readme
This commit is contained in:
parent
45fcd3a83b
commit
ba9c7736dc
24
README.md
24
README.md
|
@ -58,8 +58,8 @@ $ npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
### Binary
|
||||||
When you build release packages, please use `electron-builder`. Now I don't use `electron-packager`.
|
When you build release packages, please use `electron-builder`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# for linux
|
# for linux
|
||||||
|
@ -70,5 +70,25 @@ $ npm run build:linux
|
||||||
$ npm run build:mac
|
$ 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
|
# License
|
||||||
The software is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
The software is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||||
|
|
Loading…
Reference in New Issue