Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: support building distributables for Mac Store #213

Open
wants to merge 2 commits into
base: v6
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ npx create-electron-app@latest my-app --template=webpack

There are currently four first-party templates:

* `webpack`
* `webpack-typescript`
* `vite`
* `vite-typescript`
- `webpack`
- `webpack-typescript`
- `vite`
- `vite-typescript`

All of these templates are built around plugins that bundle your JavaScript code for production and includes a dev server to provide a better developer experience.

Expand All @@ -59,6 +59,11 @@ So you've got an **amazing** application there, and you want to package it all u
```bash
npm run make
```
For those looking to publish to the Apple Store, you'll need to create a universal build.

```bash
npm run make -- --arch=universal --platform=mas
```

## Publishing your app

Expand All @@ -82,6 +87,6 @@ Once you've got a basic app starting, building and publishing, it's time to add

You can also check out the documentation on some of our more advanced features like:

* [Adding plugins](config/plugins/)
* [Debugging your app](advanced/debugging.md)
* [Writing your own makers, publishers and plugins](advanced/extending-electron-forge/)
- [Adding plugins](config/plugins/)
- [Debugging your app](advanced/debugging.md)
- [Writing your own makers, publishers and plugins](advanced/extending-electron-forge/)