update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
48
electron/node_modules/app-builder-lib/out/options/AppXOptions.d.ts
generated
vendored
48
electron/node_modules/app-builder-lib/out/options/AppXOptions.d.ts
generated
vendored
|
|
@ -1,7 +1,7 @@
|
|||
import { TargetSpecificOptions } from "../core";
|
||||
export interface AppXOptions extends TargetSpecificOptions {
|
||||
/**
|
||||
* The application id. Defaults to `identityName`. Can’t start with numbers.
|
||||
* The application id. Defaults to `identityName`. This string contains alpha-numeric fields separated by periods. Each field must begin with an ASCII alphabetic character.
|
||||
*/
|
||||
readonly applicationId?: string;
|
||||
/**
|
||||
|
|
@ -15,7 +15,7 @@ export interface AppXOptions extends TargetSpecificOptions {
|
|||
*/
|
||||
readonly displayName?: string | null;
|
||||
/**
|
||||
* The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](/configuration/configuration#Metadata-name).
|
||||
* The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](https://www.electron.build/configuration#metadata).
|
||||
*/
|
||||
readonly identityName?: string | null;
|
||||
/**
|
||||
|
|
@ -41,6 +41,40 @@ export interface AppXOptions extends TargetSpecificOptions {
|
|||
* Relative path to custom extensions xml to be included in an `appmanifest.xml`.
|
||||
*/
|
||||
readonly customExtensionsPath?: string;
|
||||
/**
|
||||
* The list of [capabilities](https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations) to be added to an `appmanifest.xml`.
|
||||
* The `runFullTrust` capability is obligatory for electron apps and will be auto added if not specified here.
|
||||
* Defaults to `['runFullTrust']` if omitted
|
||||
* Example: `['runFullTrust', 'privateNetworkClientServer', 'webcam']`
|
||||
*/
|
||||
readonly capabilities?: Array<string> | null;
|
||||
/**
|
||||
* (Advanced Option) Relative path to custom `appmanifest.xml` (file name doesn't matter, it'll be renamed) located in build resources directory.
|
||||
* Supports the following template macros:
|
||||
*
|
||||
* - ${publisher}
|
||||
* - ${publisherDisplayName}
|
||||
* - ${version}
|
||||
* - ${applicationId}
|
||||
* - ${identityName}
|
||||
* - ${executable}
|
||||
* - ${displayName}
|
||||
* - ${description}
|
||||
* - ${backgroundColor}
|
||||
* - ${logo}
|
||||
* - ${square150x150Logo}
|
||||
* - ${square44x44Logo}
|
||||
* - ${lockScreen}
|
||||
* - ${defaultTile}
|
||||
* - ${splashScreen}
|
||||
* - ${arch}
|
||||
* - ${resourceLanguages}
|
||||
* - ${capabilities}
|
||||
* - ${extensions}
|
||||
* - ${minVersion}
|
||||
* - ${maxVersionTested}
|
||||
*/
|
||||
readonly customManifestPath?: string;
|
||||
/**
|
||||
* Whether to overlay the app's name on top of tile images on the Start screen. Defaults to `false`. (https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap-shownameontiles) in the dependencies.
|
||||
* @default false
|
||||
|
|
@ -56,6 +90,16 @@ export interface AppXOptions extends TargetSpecificOptions {
|
|||
* @default false
|
||||
*/
|
||||
readonly setBuildNumber?: boolean;
|
||||
/**
|
||||
* Set the MinVersion field in the appx manifest.xml
|
||||
* @default arch === Arch.arm64 ? "10.0.16299.0" : "10.0.14316.0"
|
||||
*/
|
||||
readonly minVersion?: string | null;
|
||||
/**
|
||||
* Set the `MaxVersionTested` field in the appx manifest.xml
|
||||
* @default arch === Arch.arm64 ? "10.0.16299.0" : "10.0.14316.0"
|
||||
*/
|
||||
readonly maxVersionTested?: string | null;
|
||||
/** @private */
|
||||
readonly makeappxArgs?: Array<string> | null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue