-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-188: Standardize documentation for Makers
- Loading branch information
1 parent
64a70bb
commit cc993b5
Showing
11 changed files
with
261 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,46 @@ | ||
--- | ||
description: >- | ||
Create a package for the Windows Store for your Electron app, using Electron | ||
Create a package for the Microsoft Store for your Electron app, using Electron | ||
Forge. | ||
--- | ||
|
||
# AppX | ||
|
||
The AppX target builds `.appx` packages which are designed to target the Windows Store. You can only build the AppX target on Windows machines with the Windows 10 SDK installed. Check the [`electron-windows-store` docs](https://github.com/felixrieseberg/electron-windows-store#readme) for more information on platform requirements. | ||
The AppX target builds `.appx` packages which are designed to target the [Microsoft Store](https://apps.microsoft.com/home). | ||
|
||
Configuration options are documented in [`MakerAppXConfig`](https://js.electronforge.io/interfaces/_electron_forge_maker_appx.MakerAppXConfig.html). | ||
### Requirements | ||
|
||
You can only build the AppX target on Windows 10 or 11 machines with the [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) installed. Check the [`electron-windows-store` docs](https://github.com/electron-userland/electron-windows-store) for more information on platform requirements. | ||
|
||
### Installation | ||
|
||
```bash | ||
npm install --save-dev @electron-forge/maker-appx | ||
``` | ||
|
||
### Usage | ||
|
||
To use `@electron-forge/maker-appx`, add it to the `makers` array in your [Forge configuration](../configuration.md): | ||
|
||
{% code title="forge.config.js" %} | ||
```javascript | ||
{ | ||
name: '@electron-forge/maker-appx', | ||
config: { | ||
publisher: 'CN=developmentca', | ||
devCert: 'C:\\devcert.pfx', | ||
certPass: 'abcd' | ||
} | ||
module.exports = { | ||
makers: [ | ||
{ | ||
name: '@electron-forge/maker-appx', | ||
config: { | ||
publisher: 'CN=developmentca', | ||
devCert: 'C:\\devcert.pfx', | ||
certPass: 'abcd' | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
{% endcode %} | ||
|
||
Configuration options are documented in [`MakerAppXConfig`](https://js.electronforge.io/interfaces/\_electron\_forge\_maker\_appx.MakerAppXConfig.html). | ||
|
||
### Debugging | ||
|
||
For advanced debug logging for this maker, add the `DEBUG=electron-windows-store*` environment variable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.