feat: Make autoUpdate and autoLaunch features configurable in MakerWixConfig (#2620)
- Added 'features' property to `MakerWixConfig` to enable configuration of `autoUpdate` and `autoLaunch` features - (see definition [here](https://github.com/felixrieseberg/electron-wix-msi/blob/master/src/creator.ts#L85)) - These features can then be configured by adding `features` to `@electron-forge/maker-wix`'s `config` in `forge.config.js` Example: ```javascript { features: { autoUpdate: true, autoLaunch: false } } ```
This commit is contained in:
Родитель
bc2949a07c
Коммит
bf7d271a04
|
@ -1,4 +1,4 @@
|
|||
import { MSICreator } from 'electron-wix-msi/lib/creator';
|
||||
import { MSICreator, Features } from 'electron-wix-msi/lib/creator';
|
||||
|
||||
export interface MakerWixConfig {
|
||||
/**
|
||||
|
@ -70,6 +70,11 @@ export interface MakerWixConfig {
|
|||
* The password to decrypt the certificate given in `certificateFile`.
|
||||
*/
|
||||
certificatePassword?: string;
|
||||
/**
|
||||
* Enables configuration of the autoUpdate and autoLaunch features.
|
||||
* By default, they are disabled.
|
||||
*/
|
||||
features?: Features | false;
|
||||
/**
|
||||
* Allows for the modification of the MSICreator before create is called.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче