Typedef
Static Public Summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Static Public
public ImportOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be imported |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
updateScripts | boolean |
|
Whether to update the modules package.json scripts to be electron-forge commands |
outDir | string |
|
The path to the directory containing generated distributables |
public InitOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be initialized |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
lintstyle | string |
|
The lintstyle to pass through to the template creator |
template | string |
|
The custom template to use. If left empty, the default template is used |
public InstallOptions: Object source
Properties:
Name | Type | Attribute | Description |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
prerelease | boolean |
|
Whether to install prerelease versions |
repo | string | The GitHub repository to install from, in the format owner/name |
|
chooseAsset | function | A function that must return the asset to use/install from a provided array of compatible GitHub assets |
public MakeOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app from which distributables are generated |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
skipPackage | boolean |
|
Whether to skip the pre-make packaging step |
overrideTargets | Array<string> |
|
An array of make targets to override your forge config |
arch | string |
|
The target architecture |
platform | string |
|
The target platform. |
outDir | string |
|
The path to the directory containing generated distributables |
public PackageOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to package |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
arch | string |
|
The target arch |
platform | string |
|
The target platform. |
outDir | string |
|
The path to the output directory for packaged apps |
public PublishOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be published |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
authToken | string |
|
An authentication token to use when publishing |
tag | string |
|
The string to tag this release with |
target | string |
|
The publish target |
makeOptions | MakeOptions |
|
Options object to passed through to make() |
outDir | string |
|
The path to the directory containing generated distributables |
dryRun | boolean |
|
Whether or not to generate dry run meta data and not actually publish |
dryRunResume | boolean |
|
Whether or not to attempt to resume a previously saved dryRun and publish |
makeResults | Object |
|
Provide results from make so that the publish step doesn't run make itself |
public StartOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the electron forge project to run |
appPath | string |
|
The path (relative to dir) to the electron app to run relative to the project directory |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
enableLogging | boolean |
|
Enables advanced internal Electron debug calls |
args | Array<string> |
|
Arguments to pass through to the launched Electron application |