15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/// <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 = {
    APP_ID: string;
    APP_GUID: unknown;
    UNINSTALL_APP_KEY: unknown;
    PRODUCT_NAME: string;
    PRODUCT_FILENAME: string;
    APP_FILENAME: string;
    APP_DESCRIPTION: string;
    VERSION: string;
    PROJECT_DIR: string;
    BUILD_RESOURCES_DIR: string;
    APP_PACKAGE_NAME: string;
    ENABLE_LOGGING_ELECTRON_BUILDER?: null;
    UNINSTALL_REGISTRY_KEY_2?: string;
    MUI_ICON?: unknown;
    MUI_UNICON?: unknown;
    APP_DIR_64?: string;
    APP_DIR_ARM64?: string;
    APP_DIR_32?: string;
    APP_BUILD_DIR?: string;
    APP_64?: string;
    APP_ARM64?: string;
    APP_32?: string;
    APP_64_NAME?: string;
    APP_ARM64_NAME?: string;
    APP_32_NAME?: string;
    APP_64_HASH?: string;
    APP_ARM64_HASH?: string;
    APP_32_HASH?: 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;
    ONE_CLICK?: null;
    RUN_AFTER_FINISH?: null;
    HEADER_ICO?: string;
    HIDE_RUN_AFTER_FINISH?: null;
    MUI_HEADERIMAGE?: null;
    MUI_HEADERIMAGE_RIGHT?: null;
    MUI_HEADERIMAGE_BITMAP?: string;
    MUI_WELCOMEFINISHPAGE_BITMAP?: string;
    MUI_UNWELCOMEFINISHPAGE_BITMAP?: string;
    MULTIUSER_INSTALLMODE_ALLOW_ELEVATION?: null;
    INSTALL_MODE_PER_ALL_USERS?: null;
    INSTALL_MODE_PER_ALL_USERS_REQUIRED?: null;
    allowToChangeInstallationDirectory?: null;
    removeDefaultUninstallWelcomePage?: null;
    MENU_FILENAME?: string;
    SHORTCUT_NAME?: string;
    DELETE_APP_DATA_ON_UNINSTALL?: null;
    UNINSTALLER_ICON?: string;
    UNINSTALL_DISPLAY_NAME?: string;
    RECREATE_DESKTOP_SHORTCUT?: null;
    DO_NOT_CREATE_DESKTOP_SHORTCUT?: null;
    DO_NOT_CREATE_START_MENU_SHORTCUT?: null;
    DISPLAY_LANG_SELECTOR?: null;
    COMPANY_NAME?: string;
    APP_PRODUCT_FILENAME?: string;
    APP_PACKAGE_STORE_FILE?: string;
    APP_INSTALLER_STORE_FILE?: string;
    ZIP_COMPRESSION?: null;
    COMPRESSION_METHOD?: "zip" | "7z";
};