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:
Peter Thompson 2022-02-11 13:16:37 -08:00 коммит произвёл GitHub
Родитель bc2949a07c
Коммит bf7d271a04
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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.
*/