update electron to v43

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,12 +1,10 @@
/// <reference types="node" />
import { PortableOptions } from "./nsisOptions";
import { PathLike } from "fs";
/**
* Parameters declared as environment variables in NSIS scripts.
* The documentation vaguely explains "All other electron-builder specific flags (e.g. ONE_CLICK) are still defined."
* Parameters with null values in TypeScript can be treated as Boolean values using "!Ifdef" in NSIS Script.
*/
export declare type Defines = {
export type Defines = {
APP_ID: string;
APP_GUID: unknown;
UNINSTALL_APP_KEY: unknown;
@ -35,13 +33,16 @@ export declare type Defines = {
APP_64_HASH?: string;
APP_ARM64_HASH?: string;
APP_32_HASH?: string;
APP_64_UNPACKED_SIZE?: string;
APP_ARM64_UNPACKED_SIZE?: string;
APP_32_UNPACKED_SIZE?: string;
REQUEST_EXECUTION_LEVEL?: PortableOptions["requestExecutionLevel"];
UNPACK_DIR_NAME?: string | false;
SPLASH_IMAGE?: unknown;
ESTIMATED_SIZE?: number;
COMPRESS?: "auto";
BUILD_UNINSTALLER?: null;
UNINSTALLER_OUT_FILE?: PathLike;
UNINSTALLER_OUT_FILE?: string;
ONE_CLICK?: null;
RUN_AFTER_FINISH?: null;
HEADER_ICO?: string;
@ -53,6 +54,7 @@ export declare type Defines = {
MUI_UNWELCOMEFINISHPAGE_BITMAP?: string;
MULTIUSER_INSTALLMODE_ALLOW_ELEVATION?: null;
INSTALL_MODE_PER_ALL_USERS?: null;
INSTALL_MODE_PER_ALL_USERS_DEFAULT?: null;
INSTALL_MODE_PER_ALL_USERS_REQUIRED?: null;
allowToChangeInstallationDirectory?: null;
removeDefaultUninstallWelcomePage?: null;
@ -61,6 +63,10 @@ export declare type Defines = {
DELETE_APP_DATA_ON_UNINSTALL?: null;
UNINSTALLER_ICON?: string;
UNINSTALL_DISPLAY_NAME?: string;
UNINSTALL_URL_HELP?: string;
UNINSTALL_URL_INFO_ABOUT?: string;
UNINSTALL_URL_UPDATE_INFO?: string;
UNINSTALL_URL_README?: string;
RECREATE_DESKTOP_SHORTCUT?: null;
DO_NOT_CREATE_DESKTOP_SHORTCUT?: null;
DO_NOT_CREATE_START_MENU_SHORTCUT?: null;