docs: add API docs and clean up README (#155)
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
[](https://github.com/electron/universal/actions/workflows/test.yml)
|
[](https://github.com/electron/universal/actions/workflows/test.yml)
|
||||||
[](https://npm.im/@electron/universal)
|
[](https://npm.im/@electron/universal)
|
||||||
|
[](https://packages.electronjs.org/universal)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -22,6 +23,8 @@ await makeUniversalApp({
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For full API usage, see the [API documentation](https://packages.electronjs.org/universal).
|
||||||
|
|
||||||
## Advanced configuration
|
## Advanced configuration
|
||||||
|
|
||||||
The basic usage patterns will work for most apps out of the box. Additional configuration
|
The basic usage patterns will work for most apps out of the box. Additional configuration
|
||||||
@@ -118,8 +121,4 @@ Note that if you are using `mergeASARs`, you may need to add architecture-specif
|
|||||||
binary resources to the `singleArchFiles` pattern.
|
binary resources to the `singleArchFiles` pattern.
|
||||||
See [Merging ASARs usage](#merging-asar-archives-to-reduce-app-size) for an example.
|
See [Merging ASARs usage](#merging-asar-archives-to-reduce-app-size) for an example.
|
||||||
|
|
||||||
#### How do I build my app for Apple silicon in the first place?
|
|
||||||
|
|
||||||
Check out the [Electron Apple silicon blog post](https://www.electronjs.org/blog/apple-silicon).
|
|
||||||
|
|
||||||
[`minimatch`]: https://github.com/isaacs/minimatch?tab=readme-ov-file#features
|
[`minimatch`]: https://github.com/isaacs/minimatch?tab=readme-ov-file#features
|
||||||
|
|||||||
Reference in New Issue
Block a user