update electron to v43
All checks were successful
Android Build / publish (push) Successful in 55s
Linux Build / publish (push) Successful in 1m6s

This commit is contained in:
olcxja 2026-07-09 22:38:33 +02:00
commit fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions

View file

@ -1,6 +1,6 @@
import { TargetSpecificOptions } from "../core";
export declare type BackgroundAlignment = "center" | "left" | "right" | "top" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright";
export declare type BackgroundScaling = "tofit" | "none" | "proportional";
export type BackgroundAlignment = "center" | "left" | "right" | "top" | "bottom" | "topleft" | "topright" | "bottomleft" | "bottomright";
export type BackgroundScaling = "tofit" | "none" | "proportional";
/**
* macOS product archive options.
*/
@ -48,7 +48,7 @@ export interface PkgOptions extends TargetSpecificOptions {
*/
readonly allowRootDirectory?: boolean | null;
/**
* The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](/code-signing) instead of specifying this option.
* The name of certificate to use when signing. Consider using environment variables [CSC_LINK or CSC_NAME](https://www.electron.build/code-signing) instead of specifying this option.
*/
readonly identity?: string | null;
/**
@ -107,6 +107,11 @@ export interface PkgOptions extends TargetSpecificOptions {
* @default upgrade
*/
readonly overwriteAction?: "upgrade" | "update" | null;
/**
* The extra component packages directory (relative to build resources directory) for MacOS product archive
* Autoscans directory for any `.pkg` files and adds to `productbuild` command as `--package-path` and `--package` accordingly
*/
readonly extraPkgsDir?: string | null;
}
/**
* Options for the background image in a PKG installer