@@ -7,14 +7,14 @@ export interface WinBuildOptions extends PlatformSpecificBuildOptions {
7
7
/**
8
8
* Target package type: list of `nsis`, `nsis-web` (Web installer), `portable` (portable app without installation), `appx`, `squirrel`, `7z`, `zip`, `tar.xz`, `tar.lz`, `tar.gz`, `tar.bz2`, `dir`. Defaults to `nsis`.
9
9
* AppX package can be built only on Windows 10.
10
- *
10
+ *
11
11
* To use Squirrel.Windows please install `electron-builder-squirrel-windows` dependency.
12
12
*/
13
13
readonly target ?: TargetConfigType
14
14
15
15
/**
16
16
* Array of signing algorithms used. Defaults to `['sha1', 'sha256']`
17
- *
17
+ *
18
18
* For AppX `sha256` is always used.
19
19
*/
20
20
readonly signingHashAlgorithms ?: Array < "sha1" | "sha256" > | null
@@ -52,6 +52,11 @@ export interface WinBuildOptions extends PlatformSpecificBuildOptions {
52
52
*/
53
53
readonly certificateSha1 ?: string
54
54
55
+ /**
56
+ * The path to an additional certificate file you want to add to the signature block.
57
+ */
58
+ readonly additionalCertificateFile ?: string
59
+
55
60
/**
56
61
* The URL of the RFC 3161 time stamp server. Defaults to `http://timestamp.comodoca.com/rfc3161`.
57
62
*/
@@ -87,9 +92,9 @@ export interface NsisOptions extends CommonNsisOptions, TargetSpecificOptions {
87
92
*/
88
93
readonly oneClick ?: boolean
89
94
90
- /***
95
+ /***
91
96
* If `oneClick` is `true` (default): Install per all users (per-machine).
92
- *
97
+ *
93
98
* If `oneClick` is `false`: no install mode installer page (choice per-machine or per-user), always install per-machine.
94
99
* @default false
95
100
*/
@@ -160,10 +165,10 @@ export interface NsisOptions extends CommonNsisOptions, TargetSpecificOptions {
160
165
161
166
/**
162
167
* The path to EULA license file. Defaults to `license.rtf` or `license.txt` or `eula.rtf` or `eula.txt` (or uppercase variants, e.g. `EULA.txt` or `LICENSE.TXT`).
163
- *
168
+ *
164
169
* Multiple license files in different languages are supported — use lang postfix (e.g. `_de`, `_ru`)). For example, create files `license_de.txt` and `license_en.txt` in the build resources.
165
170
* If OS language is german, `license_de.txt` will be displayed. See map of [language code to name](https://github.com/meikidd/iso-639-1/blob/master/src/data.js).
166
- *
171
+ *
167
172
* Appropriate license file will be selected by user OS language.
168
173
*/
169
174
readonly license ?: string | null
@@ -226,15 +231,15 @@ export interface PortableOptions extends TargetSpecificOptions, CommonNsisOption
226
231
readonly requestExecutionLevel ?: "user" | "highest" | "admin"
227
232
}
228
233
229
- /**
234
+ /**
230
235
* Web Installer Specific Options ([nsisWeb](#Config-nsisWeb)).
231
236
*/
232
237
export interface NsisWebOptions extends NsisOptions {
233
238
/**
234
239
* The application package download URL. Optional — by default computed using publish configuration.
235
- *
240
+ *
236
241
* URL like `https://example.com/download/latest` allows web installer to be version independent (installer will download latest application package).
237
- *
242
+ *
238
243
* Custom `X-Arch` http header is set to `32` or `64`.
239
244
*/
240
245
readonly appPackageUrl ?: string | null
@@ -253,9 +258,9 @@ export interface NsisWebOptions extends NsisOptions {
253
258
export interface SquirrelWindowsOptions extends WinBuildOptions {
254
259
/**
255
260
* A URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features). Defaults to the Electron icon.
256
- *
261
+ *
257
262
* Please note — [local icon file url is not accepted](https://github.com/atom/grunt-electron-installer/issues/73), must be https/http.
258
- *
263
+ *
259
264
* If you don't plan to build windows installer, you can omit it.
260
265
* If your project repository is public on GitHub, it will be `https://github.com/${u}/${p}/blob/master/build/icon.ico?raw=true` by default.
261
266
*/
0 commit comments