Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.32 KB

appx.md

File metadata and controls

46 lines (34 loc) · 1.32 KB
description
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 Microsoft Store.

Requirements

You can only build the AppX target on Windows 10 or 11 machines with the Windows SDK installed. Check the electron-windows-store docs for more information on platform requirements.

Installation

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:

{% code title="forge.config.js" %}

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.

Debugging

For advanced debug logging for this maker, add the DEBUG=electron-windows-store* environment variable.