app-builder-lib 27.0.0-alpha.1 → 27.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Framework.d.ts +2 -0
- package/dist/Framework.d.ts.map +1 -1
- package/dist/Framework.js.map +1 -1
- package/dist/appInfo.d.ts +1 -1
- package/dist/appInfo.d.ts.map +1 -1
- package/dist/appInfo.js +3 -3
- package/dist/appInfo.js.map +1 -1
- package/dist/asar/asar.js.map +1 -1
- package/dist/asar/asarAlign.d.ts +35 -0
- package/dist/asar/asarAlign.d.ts.map +1 -0
- package/dist/asar/asarAlign.js +149 -0
- package/dist/asar/asarAlign.js.map +1 -0
- package/dist/asar/asarFileChecker.d.ts +4 -2
- package/dist/asar/asarFileChecker.d.ts.map +1 -1
- package/dist/asar/asarFileChecker.js +2 -3
- package/dist/asar/asarFileChecker.js.map +1 -1
- package/dist/asar/asarUtil.d.ts +15 -1
- package/dist/asar/asarUtil.d.ts.map +1 -1
- package/dist/asar/asarUtil.js +132 -72
- package/dist/asar/asarUtil.js.map +1 -1
- package/dist/codeSign/certInfo.d.ts +14 -0
- package/dist/codeSign/certInfo.d.ts.map +1 -1
- package/dist/codeSign/certInfo.js +49 -0
- package/dist/codeSign/certInfo.js.map +1 -1
- package/dist/codeSign/mac/macCodeSign.d.ts +3 -3
- package/dist/codeSign/mac/macCodeSign.d.ts.map +1 -1
- package/dist/codeSign/mac/macCodeSign.js +50 -25
- package/dist/codeSign/mac/macCodeSign.js.map +1 -1
- package/dist/codeSign/signResult.d.ts +26 -0
- package/dist/codeSign/signResult.d.ts.map +1 -0
- package/dist/codeSign/signResult.js +12 -0
- package/dist/codeSign/signResult.js.map +1 -0
- package/dist/codeSign/win/hsmSignManager.d.ts +10 -0
- package/dist/codeSign/win/hsmSignManager.d.ts.map +1 -0
- package/dist/codeSign/win/hsmSignManager.js +50 -0
- package/dist/codeSign/win/hsmSignManager.js.map +1 -0
- package/dist/codeSign/win/pkcs11SignManager.d.ts +14 -0
- package/dist/codeSign/win/pkcs11SignManager.d.ts.map +1 -0
- package/dist/codeSign/win/pkcs11SignManager.js +82 -0
- package/dist/codeSign/win/pkcs11SignManager.js.map +1 -0
- package/dist/codeSign/win/signManager.d.ts +17 -0
- package/dist/codeSign/win/signManager.d.ts.map +1 -0
- package/dist/codeSign/win/signManager.js +19 -0
- package/dist/codeSign/win/signManager.js.map +1 -0
- package/dist/codeSign/win/signtoolBaseSignManager.d.ts +95 -0
- package/dist/codeSign/win/signtoolBaseSignManager.d.ts.map +1 -0
- package/dist/codeSign/win/signtoolBaseSignManager.js +507 -0
- package/dist/codeSign/win/signtoolBaseSignManager.js.map +1 -0
- package/dist/codeSign/win/windowsCodeSign.d.ts +2 -1
- package/dist/codeSign/win/windowsCodeSign.d.ts.map +1 -1
- package/dist/codeSign/win/windowsCodeSign.js +22 -8
- package/dist/codeSign/win/windowsCodeSign.js.map +1 -1
- package/dist/codeSign/win/windowsSignAzureManager.d.ts +11 -4
- package/dist/codeSign/win/windowsSignAzureManager.d.ts.map +1 -1
- package/dist/codeSign/win/windowsSignAzureManager.js +142 -37
- package/dist/codeSign/win/windowsSignAzureManager.js.map +1 -1
- package/dist/codeSign/win/windowsSignToolManager.d.ts +1 -58
- package/dist/codeSign/win/windowsSignToolManager.d.ts.map +1 -1
- package/dist/codeSign/win/windowsSignToolManager.js +3 -363
- package/dist/codeSign/win/windowsSignToolManager.js.map +1 -1
- package/dist/configuration.d.ts +233 -166
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js +11 -1
- package/dist/configuration.js.map +1 -1
- package/dist/core.d.ts +14 -0
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +11 -0
- package/dist/core.js.map +1 -1
- package/dist/electron/ElectronFramework.d.ts +3 -3
- package/dist/electron/ElectronFramework.d.ts.map +1 -1
- package/dist/electron/ElectronFramework.js +60 -61
- package/dist/electron/ElectronFramework.js.map +1 -1
- package/dist/electron/electronArchSupport.d.ts +12 -0
- package/dist/electron/electronArchSupport.d.ts.map +1 -0
- package/dist/electron/electronArchSupport.js +58 -0
- package/dist/electron/electronArchSupport.js.map +1 -0
- package/dist/electron/electronVersion.d.ts.map +1 -1
- package/dist/electron/electronVersion.js +1 -11
- package/dist/electron/electronVersion.js.map +1 -1
- package/dist/electron/injectFFMPEG.js +2 -2
- package/dist/electron/injectFFMPEG.js.map +1 -1
- package/dist/electron/mac/electronMac.js +24 -35
- package/dist/electron/mac/electronMac.js.map +1 -1
- package/dist/electron/mac/electronMacUtils.d.ts +24 -0
- package/dist/electron/mac/electronMacUtils.d.ts.map +1 -0
- package/dist/electron/mac/electronMacUtils.js +42 -0
- package/dist/electron/mac/electronMacUtils.js.map +1 -0
- package/dist/electron/win/electronWin.js +2 -2
- package/dist/electron/win/electronWin.js.map +1 -1
- package/dist/fileMatcher.d.ts +55 -3
- package/dist/fileMatcher.d.ts.map +1 -1
- package/dist/fileMatcher.js +274 -28
- package/dist/fileMatcher.js.map +1 -1
- package/dist/index.d.ts +13 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/indexInternal.d.ts +20 -8
- package/dist/indexInternal.d.ts.map +1 -1
- package/dist/indexInternal.js +19 -7
- package/dist/indexInternal.js.map +1 -1
- package/dist/linuxPackager.d.ts.map +1 -1
- package/dist/linuxPackager.js +19 -1
- package/dist/linuxPackager.js.map +1 -1
- package/dist/macPackager.d.ts +31 -14
- package/dist/macPackager.d.ts.map +1 -1
- package/dist/macPackager.js +236 -147
- package/dist/macPackager.js.map +1 -1
- package/dist/node-module-collector/index.d.ts.map +1 -1
- package/dist/node-module-collector/index.js +47 -16
- package/dist/node-module-collector/index.js.map +1 -1
- package/dist/node-module-collector/moduleManager.d.ts +11 -2
- package/dist/node-module-collector/moduleManager.d.ts.map +1 -1
- package/dist/node-module-collector/moduleManager.js +34 -14
- package/dist/node-module-collector/moduleManager.js.map +1 -1
- package/dist/node-module-collector/nodeModulesCollector.d.ts +47 -26
- package/dist/node-module-collector/nodeModulesCollector.d.ts.map +1 -1
- package/dist/node-module-collector/nodeModulesCollector.js +157 -142
- package/dist/node-module-collector/nodeModulesCollector.js.map +1 -1
- package/dist/node-module-collector/packageManager.js +1 -1
- package/dist/node-module-collector/packageManager.js.map +1 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.d.ts +90 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.d.ts.map +1 -1
- package/dist/node-module-collector/pnpmNodeModulesCollector.js +325 -25
- package/dist/node-module-collector/pnpmNodeModulesCollector.js.map +1 -1
- package/dist/node-module-collector/types.d.ts +4 -0
- package/dist/node-module-collector/types.d.ts.map +1 -1
- package/dist/node-module-collector/types.js.map +1 -1
- package/dist/options/FuseOptionsV1.d.ts +137 -0
- package/dist/options/FuseOptionsV1.d.ts.map +1 -0
- package/dist/options/FuseOptionsV1.js +2 -0
- package/dist/options/FuseOptionsV1.js.map +1 -0
- package/dist/options/MsixOptions.d.ts +126 -0
- package/dist/options/MsixOptions.d.ts.map +1 -0
- package/dist/options/MsixOptions.js +2 -0
- package/dist/options/MsixOptions.js.map +1 -0
- package/dist/options/PlatformSpecificBuildOptions.d.ts +147 -12
- package/dist/options/PlatformSpecificBuildOptions.d.ts.map +1 -1
- package/dist/options/PlatformSpecificBuildOptions.js.map +1 -1
- package/dist/options/SnapOptions.d.ts +59 -32
- package/dist/options/SnapOptions.d.ts.map +1 -1
- package/dist/options/SnapOptions.js.map +1 -1
- package/dist/options/SquirrelWindowsOptions.d.ts +0 -5
- package/dist/options/SquirrelWindowsOptions.d.ts.map +1 -1
- package/dist/options/SquirrelWindowsOptions.js.map +1 -1
- package/dist/options/linuxOptions.d.ts +61 -30
- package/dist/options/linuxOptions.d.ts.map +1 -1
- package/dist/options/linuxOptions.js.map +1 -1
- package/dist/options/macOptions.d.ts +113 -131
- package/dist/options/macOptions.d.ts.map +1 -1
- package/dist/options/macOptions.js.map +1 -1
- package/dist/options/pkgOptions.d.ts +1 -1
- package/dist/options/pkgOptions.js.map +1 -1
- package/dist/options/winOptions.d.ts +282 -70
- package/dist/options/winOptions.d.ts.map +1 -1
- package/dist/options/winOptions.js +12 -1
- package/dist/options/winOptions.js.map +1 -1
- package/dist/packager.d.ts +6 -1
- package/dist/packager.d.ts.map +1 -1
- package/dist/packager.js +123 -40
- package/dist/packager.js.map +1 -1
- package/dist/packagerApi.d.ts +10 -1
- package/dist/packagerApi.d.ts.map +1 -1
- package/dist/packagerApi.js.map +1 -1
- package/dist/platformPackager.d.ts +55 -4
- package/dist/platformPackager.d.ts.map +1 -1
- package/dist/platformPackager.js +160 -22
- package/dist/platformPackager.js.map +1 -1
- package/dist/presets/rectCra.js +3 -1
- package/dist/presets/rectCra.js.map +1 -1
- package/dist/publish/PublishManager.d.ts +40 -2
- package/dist/publish/PublishManager.d.ts.map +1 -1
- package/dist/publish/PublishManager.js +365 -23
- package/dist/publish/PublishManager.js.map +1 -1
- package/dist/publish/updateInfoBuilder.d.ts +1 -1
- package/dist/publish/updateInfoBuilder.d.ts.map +1 -1
- package/dist/publish/updateInfoBuilder.js +108 -32
- package/dist/publish/updateInfoBuilder.js.map +1 -1
- package/dist/targets/ArchiveTarget.d.ts +1 -0
- package/dist/targets/ArchiveTarget.d.ts.map +1 -1
- package/dist/targets/ArchiveTarget.js +13 -4
- package/dist/targets/ArchiveTarget.js.map +1 -1
- package/dist/targets/archive.d.ts +39 -2
- package/dist/targets/archive.d.ts.map +1 -1
- package/dist/targets/archive.js +114 -30
- package/dist/targets/archive.js.map +1 -1
- package/dist/targets/blockmap/blockmap.d.ts +44 -3
- package/dist/targets/blockmap/blockmap.d.ts.map +1 -1
- package/dist/targets/blockmap/blockmap.js +142 -15
- package/dist/targets/blockmap/blockmap.js.map +1 -1
- package/dist/targets/blockmap/verbatimRange.d.ts +44 -0
- package/dist/targets/blockmap/verbatimRange.d.ts.map +1 -0
- package/dist/targets/blockmap/verbatimRange.js +117 -0
- package/dist/targets/blockmap/verbatimRange.js.map +1 -0
- package/dist/targets/differentialUpdateInfoBuilder.d.ts +28 -2
- package/dist/targets/differentialUpdateInfoBuilder.d.ts.map +1 -1
- package/dist/targets/differentialUpdateInfoBuilder.js +75 -6
- package/dist/targets/differentialUpdateInfoBuilder.js.map +1 -1
- package/dist/targets/linux/FlatpakTarget.d.ts +17 -0
- package/dist/targets/linux/FlatpakTarget.d.ts.map +1 -1
- package/dist/targets/linux/FlatpakTarget.js +245 -45
- package/dist/targets/linux/FlatpakTarget.js.map +1 -1
- package/dist/targets/linux/FpmTarget.d.ts +14 -0
- package/dist/targets/linux/FpmTarget.d.ts.map +1 -1
- package/dist/targets/linux/FpmTarget.js +92 -12
- package/dist/targets/linux/FpmTarget.js.map +1 -1
- package/dist/targets/linux/LinuxTargetHelper.d.ts +13 -0
- package/dist/targets/linux/LinuxTargetHelper.d.ts.map +1 -1
- package/dist/targets/linux/LinuxTargetHelper.js +81 -61
- package/dist/targets/linux/LinuxTargetHelper.js.map +1 -1
- package/dist/targets/linux/appimage/AppImageTarget.d.ts +2 -0
- package/dist/targets/linux/appimage/AppImageTarget.d.ts.map +1 -1
- package/dist/targets/linux/appimage/AppImageTarget.js +20 -15
- package/dist/targets/linux/appimage/AppImageTarget.js.map +1 -1
- package/dist/targets/linux/appimage/appImageUtil.d.ts +8 -2
- package/dist/targets/linux/appimage/appImageUtil.d.ts.map +1 -1
- package/dist/targets/linux/appimage/appImageUtil.js +16 -9
- package/dist/targets/linux/appimage/appImageUtil.js.map +1 -1
- package/dist/targets/linux/appimage/appLauncher.d.ts +6 -0
- package/dist/targets/linux/appimage/appLauncher.d.ts.map +1 -1
- package/dist/targets/linux/appimage/appLauncher.js +18 -20
- package/dist/targets/linux/appimage/appLauncher.js.map +1 -1
- package/dist/targets/linux/flatpakBundle.d.ts +43 -0
- package/dist/targets/linux/flatpakBundle.d.ts.map +1 -0
- package/dist/targets/linux/flatpakBundle.js +210 -0
- package/dist/targets/linux/flatpakBundle.js.map +1 -0
- package/dist/targets/linux/launcherScript.d.ts +32 -0
- package/dist/targets/linux/launcherScript.d.ts.map +1 -0
- package/dist/targets/linux/launcherScript.js +24 -0
- package/dist/targets/linux/launcherScript.js.map +1 -0
- package/dist/targets/linux/snap/SnapTarget.d.ts +1 -1
- package/dist/targets/linux/snap/SnapTarget.d.ts.map +1 -1
- package/dist/targets/linux/snap/SnapTarget.js +23 -1
- package/dist/targets/linux/snap/SnapTarget.js.map +1 -1
- package/dist/targets/linux/snap/core24.d.ts +13 -2
- package/dist/targets/linux/snap/core24.d.ts.map +1 -1
- package/dist/targets/linux/snap/core24.js +107 -95
- package/dist/targets/linux/snap/core24.js.map +1 -1
- package/dist/targets/linux/snap/coreCustom.d.ts +1 -1
- package/dist/targets/linux/snap/coreCustom.d.ts.map +1 -1
- package/dist/targets/linux/snap/coreCustom.js +2 -2
- package/dist/targets/linux/snap/coreCustom.js.map +1 -1
- package/dist/targets/linux/snap/coreLegacy.d.ts +10 -3
- package/dist/targets/linux/snap/coreLegacy.d.ts.map +1 -1
- package/dist/targets/linux/snap/coreLegacy.js +37 -18
- package/dist/targets/linux/snap/coreLegacy.js.map +1 -1
- package/dist/targets/linux/snap/snapCommand.d.ts +13 -0
- package/dist/targets/linux/snap/snapCommand.d.ts.map +1 -0
- package/dist/targets/linux/snap/snapCommand.js +21 -0
- package/dist/targets/linux/snap/snapCommand.js.map +1 -0
- package/dist/targets/linux/snap/snapPlugs.d.ts +76 -0
- package/dist/targets/linux/snap/snapPlugs.d.ts.map +1 -0
- package/dist/targets/linux/snap/snapPlugs.js +242 -0
- package/dist/targets/linux/snap/snapPlugs.js.map +1 -0
- package/dist/targets/linux/snap/snapcraft.d.ts +190 -0
- package/dist/targets/linux/snap/snapcraft.d.ts.map +1 -0
- package/dist/targets/linux/snap/snapcraft.js +11 -0
- package/dist/targets/linux/snap/snapcraft.js.map +1 -0
- package/dist/targets/linux/snap/snapcraftBuilder.d.ts +7 -1
- package/dist/targets/linux/snap/snapcraftBuilder.d.ts.map +1 -1
- package/dist/targets/linux/snap/snapcraftBuilder.js +57 -20
- package/dist/targets/linux/snap/snapcraftBuilder.js.map +1 -1
- package/dist/targets/mac/MacTargetHelper.d.ts +146 -14
- package/dist/targets/mac/MacTargetHelper.d.ts.map +1 -1
- package/dist/targets/mac/MacTargetHelper.js +485 -91
- package/dist/targets/mac/MacTargetHelper.js.map +1 -1
- package/dist/targets/mac/pkg.d.ts +16 -0
- package/dist/targets/mac/pkg.d.ts.map +1 -1
- package/dist/targets/mac/pkg.js +31 -5
- package/dist/targets/mac/pkg.js.map +1 -1
- package/dist/targets/targetFactory.d.ts +7 -0
- package/dist/targets/targetFactory.d.ts.map +1 -1
- package/dist/targets/targetFactory.js +28 -0
- package/dist/targets/targetFactory.js.map +1 -1
- package/dist/targets/win/AppxTarget.d.ts +1 -2
- package/dist/targets/win/AppxTarget.d.ts.map +1 -1
- package/dist/targets/win/AppxTarget.js +37 -314
- package/dist/targets/win/AppxTarget.js.map +1 -1
- package/dist/targets/win/MsiTarget.d.ts.map +1 -1
- package/dist/targets/win/MsiTarget.js +13 -13
- package/dist/targets/win/MsiTarget.js.map +1 -1
- package/dist/targets/win/MsixTarget.d.ts +22 -0
- package/dist/targets/win/MsixTarget.d.ts.map +1 -0
- package/dist/targets/win/MsixTarget.js +214 -0
- package/dist/targets/win/MsixTarget.js.map +1 -0
- package/dist/targets/win/nsis/Defines.d.ts +4 -0
- package/dist/targets/win/nsis/Defines.d.ts.map +1 -1
- package/dist/targets/win/nsis/Defines.js.map +1 -1
- package/dist/targets/win/nsis/NsisTarget.d.ts +64 -3
- package/dist/targets/win/nsis/NsisTarget.d.ts.map +1 -1
- package/dist/targets/win/nsis/NsisTarget.js +277 -113
- package/dist/targets/win/nsis/NsisTarget.js.map +1 -1
- package/dist/targets/win/nsis/WebInstallerTarget.d.ts.map +1 -1
- package/dist/targets/win/nsis/WebInstallerTarget.js +23 -12
- package/dist/targets/win/nsis/WebInstallerTarget.js.map +1 -1
- package/dist/targets/win/nsis/nsisOptions.d.ts +58 -48
- package/dist/targets/win/nsis/nsisOptions.d.ts.map +1 -1
- package/dist/targets/win/nsis/nsisOptions.js.map +1 -1
- package/dist/targets/win/nsis/nsisScriptGenerator.d.ts.map +1 -1
- package/dist/targets/win/nsis/nsisScriptGenerator.js +4 -3
- package/dist/targets/win/nsis/nsisScriptGenerator.js.map +1 -1
- package/dist/targets/win/nsis/nsisUtil.d.ts +17 -2
- package/dist/targets/win/nsis/nsisUtil.d.ts.map +1 -1
- package/dist/targets/win/nsis/nsisUtil.js +148 -41
- package/dist/targets/win/nsis/nsisUtil.js.map +1 -1
- package/dist/targets/win/nsis/progId.d.ts +21 -0
- package/dist/targets/win/nsis/progId.d.ts.map +1 -0
- package/dist/targets/win/nsis/progId.js +60 -0
- package/dist/targets/win/nsis/progId.js.map +1 -0
- package/dist/targets/win/winAppUtil.d.ts +115 -0
- package/dist/targets/win/winAppUtil.d.ts.map +1 -0
- package/dist/targets/win/winAppUtil.js +409 -0
- package/dist/targets/win/winAppUtil.js.map +1 -0
- package/dist/toolsets/7zip.d.ts +32 -0
- package/dist/toolsets/7zip.d.ts.map +1 -1
- package/dist/toolsets/7zip.js +39 -11
- package/dist/toolsets/7zip.js.map +1 -1
- package/dist/toolsets/appimage.d.ts +3 -3
- package/dist/toolsets/appimage.d.ts.map +1 -1
- package/dist/toolsets/appimage.js +24 -21
- package/dist/toolsets/appimage.js.map +1 -1
- package/dist/toolsets/custom.d.ts +2 -3
- package/dist/toolsets/custom.d.ts.map +1 -1
- package/dist/toolsets/custom.js +67 -149
- package/dist/toolsets/custom.js.map +1 -1
- package/dist/toolsets/fpm.d.ts.map +1 -1
- package/dist/toolsets/fpm.js +11 -5
- package/dist/toolsets/fpm.js.map +1 -1
- package/dist/toolsets/icons.d.ts.map +1 -1
- package/dist/toolsets/icons.js +17 -3
- package/dist/toolsets/icons.js.map +1 -1
- package/dist/toolsets/linuxToolsMac.d.ts.map +1 -1
- package/dist/toolsets/linuxToolsMac.js +17 -4
- package/dist/toolsets/linuxToolsMac.js.map +1 -1
- package/dist/toolsets/nsis.d.ts +5 -0
- package/dist/toolsets/nsis.d.ts.map +1 -1
- package/dist/toolsets/nsis.js +20 -4
- package/dist/toolsets/nsis.js.map +1 -1
- package/dist/toolsets/version.d.ts +12 -0
- package/dist/toolsets/version.d.ts.map +1 -0
- package/dist/toolsets/version.js +13 -0
- package/dist/toolsets/version.js.map +1 -0
- package/dist/toolsets/winCodeSign.d.ts +56 -3
- package/dist/toolsets/winCodeSign.d.ts.map +1 -1
- package/dist/toolsets/winCodeSign.js +125 -42
- package/dist/toolsets/winCodeSign.js.map +1 -1
- package/dist/toolsets/wine.d.ts +2 -1
- package/dist/toolsets/wine.d.ts.map +1 -1
- package/dist/toolsets/wine.js +31 -15
- package/dist/toolsets/wine.js.map +1 -1
- package/dist/util/AppFileWalker.js +9 -1
- package/dist/util/AppFileWalker.js.map +1 -1
- package/dist/util/NodeModuleCopyHelper.js +14 -6
- package/dist/util/NodeModuleCopyHelper.js.map +1 -1
- package/dist/util/appFileCopier.d.ts +67 -2
- package/dist/util/appFileCopier.d.ts.map +1 -1
- package/dist/util/appFileCopier.js +244 -32
- package/dist/util/appFileCopier.js.map +1 -1
- package/dist/util/archCompatibility.d.ts +42 -0
- package/dist/util/archCompatibility.d.ts.map +1 -0
- package/dist/util/archCompatibility.js +202 -0
- package/dist/util/archCompatibility.js.map +1 -0
- package/dist/util/checksum.d.ts +36 -0
- package/dist/util/checksum.d.ts.map +1 -0
- package/dist/util/checksum.js +48 -0
- package/dist/util/checksum.js.map +1 -0
- package/dist/util/config/config.d.ts +2 -1
- package/dist/util/config/config.d.ts.map +1 -1
- package/dist/util/config/config.js +42 -20
- package/dist/util/config/config.js.map +1 -1
- package/dist/util/config/fileOptions.d.ts +30 -0
- package/dist/util/config/fileOptions.d.ts.map +1 -0
- package/dist/util/config/fileOptions.js +120 -0
- package/dist/util/config/fileOptions.js.map +1 -0
- package/dist/util/config/legacyConfigGuard.d.ts +7 -0
- package/dist/util/config/legacyConfigGuard.d.ts.map +1 -0
- package/dist/util/config/legacyConfigGuard.js +214 -0
- package/dist/util/config/legacyConfigGuard.js.map +1 -0
- package/dist/util/config/legacyOptions.d.ts +86 -0
- package/dist/util/config/legacyOptions.d.ts.map +1 -0
- package/dist/util/config/legacyOptions.js +413 -0
- package/dist/util/config/legacyOptions.js.map +1 -0
- package/dist/util/config/load.d.ts +2 -2
- package/dist/util/config/load.d.ts.map +1 -1
- package/dist/util/config/load.js +3 -12
- package/dist/util/config/load.js.map +1 -1
- package/dist/util/config/schemaValidator.d.ts.map +1 -1
- package/dist/util/config/schemaValidator.js +26 -3
- package/dist/util/config/schemaValidator.js.map +1 -1
- package/dist/util/electronGet.d.ts +43 -32
- package/dist/util/electronGet.d.ts.map +1 -1
- package/dist/util/electronGet.js +390 -137
- package/dist/util/electronGet.js.map +1 -1
- package/dist/util/flags.d.ts +5 -5
- package/dist/util/flags.d.ts.map +1 -1
- package/dist/util/flags.js +124 -16
- package/dist/util/flags.js.map +1 -1
- package/dist/util/hash.d.ts +1 -1
- package/dist/util/hash.d.ts.map +1 -1
- package/dist/util/hash.js +1 -15
- package/dist/util/hash.js.map +1 -1
- package/dist/util/installOrRebuild.d.ts +44 -0
- package/dist/util/installOrRebuild.d.ts.map +1 -0
- package/dist/util/installOrRebuild.js +276 -0
- package/dist/util/installOrRebuild.js.map +1 -0
- package/dist/util/langs.d.ts.map +1 -1
- package/dist/util/langs.js +1 -0
- package/dist/util/langs.js.map +1 -1
- package/dist/util/license.d.ts.map +1 -1
- package/dist/util/license.js +4 -1
- package/dist/util/license.js.map +1 -1
- package/dist/util/mac/macosIconComposer.d.ts +2 -1
- package/dist/util/mac/macosIconComposer.d.ts.map +1 -1
- package/dist/util/mac/macosIconComposer.js +40 -58
- package/dist/util/mac/macosIconComposer.js.map +1 -1
- package/dist/util/mac/macosVersion.d.ts +0 -1
- package/dist/util/mac/macosVersion.d.ts.map +1 -1
- package/dist/util/mac/macosVersion.js +0 -3
- package/dist/util/mac/macosVersion.js.map +1 -1
- package/dist/util/mac/plist.d.ts +1 -1
- package/dist/util/mac/plist.d.ts.map +1 -1
- package/dist/util/mac/plist.js +5 -0
- package/dist/util/mac/plist.js.map +1 -1
- package/dist/util/nativeBinaryVerifier.d.ts +40 -0
- package/dist/util/nativeBinaryVerifier.d.ts.map +1 -0
- package/dist/util/nativeBinaryVerifier.js +381 -0
- package/dist/util/nativeBinaryVerifier.js.map +1 -0
- package/dist/util/packageMetadata.js +57 -31
- package/dist/util/packageMetadata.js.map +1 -1
- package/dist/util/removedEnvVars.d.ts +25 -0
- package/dist/util/removedEnvVars.d.ts.map +1 -0
- package/dist/util/removedEnvVars.js +54 -0
- package/dist/util/removedEnvVars.js.map +1 -0
- package/dist/util/repositoryInfo.js +6 -3
- package/dist/util/repositoryInfo.js.map +1 -1
- package/dist/util/resolve.js +1 -1
- package/dist/util/resolve.js.map +1 -1
- package/dist/util/streamSpawnToFile.d.ts +47 -0
- package/dist/util/streamSpawnToFile.d.ts.map +1 -0
- package/dist/util/streamSpawnToFile.js +110 -0
- package/dist/util/streamSpawnToFile.js.map +1 -0
- package/dist/util/toolsetLock.d.ts +2 -0
- package/dist/util/toolsetLock.d.ts.map +1 -1
- package/dist/util/toolsetLock.js +31 -5
- package/dist/util/toolsetLock.js.map +1 -1
- package/dist/util/trustedSourceRoots.d.ts +59 -0
- package/dist/util/trustedSourceRoots.d.ts.map +1 -0
- package/dist/util/trustedSourceRoots.js +127 -0
- package/dist/util/trustedSourceRoots.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/vm/ParallelsVm.d.ts.map +1 -1
- package/dist/vm/ParallelsVm.js +29 -3
- package/dist/vm/ParallelsVm.js.map +1 -1
- package/dist/vm/vm.d.ts +2 -0
- package/dist/vm/vm.d.ts.map +1 -1
- package/dist/vm/vm.js +29 -6
- package/dist/vm/vm.js.map +1 -1
- package/dist/winPackager.d.ts +6 -5
- package/dist/winPackager.d.ts.map +1 -1
- package/dist/winPackager.js +45 -39
- package/dist/winPackager.js.map +1 -1
- package/package.json +20 -20
- package/scheme.json +2112 -1495
- package/templates/appx/appxmanifest.xml +2 -3
- package/templates/entitlements.mac.adhoc.plist +15 -0
- package/templates/entitlements.mac.plist +9 -6
- package/templates/msix/appxmanifest.xml +45 -0
- package/templates/nsis/assistedMessages.yml +17 -0
- package/templates/nsis/common.nsh +2 -2
- package/templates/nsis/include/allowOnlyOneInstallerInstance.nsh +96 -13
- package/templates/nsis/include/extractAppPackage.nsh +5 -2
- package/templates/nsis/include/installUtil.nsh +2 -2
- package/templates/nsis/include/installer.nsh +94 -53
- package/templates/nsis/include/webPackage.nsh +52 -27
- package/templates/nsis/installSection.nsh +29 -0
- package/templates/nsis/installer.nsi +1 -1
- package/templates/nsis/messages.yml +5 -0
- package/templates/nsis/multiUserUi.nsh +1 -1
- package/dist/codeSign/signManager.d.ts +0 -14
- package/dist/codeSign/signManager.d.ts.map +0 -1
- package/dist/codeSign/signManager.js +0 -2
- package/dist/codeSign/signManager.js.map +0 -1
- package/dist/util/yarn.d.ts +0 -23
- package/dist/util/yarn.d.ts.map +0 -1
- package/dist/util/yarn.js +0 -153
- package/dist/util/yarn.js.map +0 -1
package/dist/configuration.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AppImageOptions, DebOptions, FlatpakOptions, LinuxConfiguration, LinuxT
|
|
|
7
7
|
import { DmgOptions, MacConfiguration, MasConfiguration } from "./options/macOptions.js";
|
|
8
8
|
import { MsiOptions } from "./options/MsiOptions.js";
|
|
9
9
|
import { MsiWrappedOptions } from "./options/MsiWrappedOptions.js";
|
|
10
|
+
import { MsixOptions } from "./options/MsixOptions.js";
|
|
10
11
|
import { PkgOptions } from "./options/pkgOptions.js";
|
|
11
12
|
import { PlatformSpecificBuildOptions } from "./options/PlatformSpecificBuildOptions.js";
|
|
12
13
|
import { SnapcraftOptions } from "./options/SnapOptions.js";
|
|
@@ -16,7 +17,19 @@ import { BuildResult } from "./packager.js";
|
|
|
16
17
|
import { ArtifactBuildStarted, ArtifactCreated } from "./packagerApi.js";
|
|
17
18
|
import { PlatformPackager } from "./platformPackager.js";
|
|
18
19
|
import { NsisOptions, NsisWebOptions, PortableOptions } from "./targets/win/nsis/nsisOptions.js";
|
|
19
|
-
import {
|
|
20
|
+
import { ElectronGetOptions } from "./util/electronGet.js";
|
|
21
|
+
import { FuseOptionsV1 } from "./options/FuseOptionsV1.js";
|
|
22
|
+
/**
|
|
23
|
+
* Production dependencies that are excluded from the copied `node_modules` by default. These are
|
|
24
|
+
* still legitimate production dependencies (for SBOM, license, and vulnerability tracking), but
|
|
25
|
+
* electron-builder already provides them another way — notably the Electron runtime, which is
|
|
26
|
+
* embedded separately — so copying them into the app would just duplicate what is already there.
|
|
27
|
+
* Users can override the set via {@link CommonConfiguration.ignoredProductionDependencies}.
|
|
28
|
+
*
|
|
29
|
+
* Declared next to the option so the code constant, the jsdoc `@default`, and the generated
|
|
30
|
+
* `scheme.json` stay in one place; a test asserts the generated schema matches this constant.
|
|
31
|
+
*/
|
|
32
|
+
export declare const DEFAULT_IGNORED_PRODUCTION_DEPENDENCIES: ReadonlyArray<string>;
|
|
20
33
|
/**
|
|
21
34
|
* Configuration options shared across all platforms.
|
|
22
35
|
*
|
|
@@ -71,8 +84,10 @@ export interface CommonConfiguration {
|
|
|
71
84
|
* Pinned versions of the binary toolsets electron-builder downloads and uses internally.
|
|
72
85
|
*
|
|
73
86
|
* Each property selects a specific release of the corresponding tool bundle. Set a property to
|
|
74
|
-
* `"0.0.0"` to force the legacy bundle (pre-v27 behaviour). Leave a property unset (or set to
|
|
75
|
-
* `
|
|
87
|
+
* `"0.0.0"` to force the legacy bundle (pre-v27 behaviour). Leave a property unset (or set it to
|
|
88
|
+
* `"latest"`) to use the modern default (newest bundle) for that toolset.
|
|
89
|
+
*
|
|
90
|
+
* Note: Toolset versioning can drop intermediate releases (such as if a problem is discovered in a bundle). If you need to pin to a specific release, check the release notes for the toolset to ensure the version you specify is valid.
|
|
76
91
|
*
|
|
77
92
|
* @see {@link ToolsetConfig}
|
|
78
93
|
*/
|
|
@@ -143,6 +158,8 @@ export interface CommonConfiguration {
|
|
|
143
158
|
* @see {@link AppXOptions}
|
|
144
159
|
*/
|
|
145
160
|
readonly appx?: AppXOptions | null;
|
|
161
|
+
/** MSIX package options. MSIX is the modern successor to AppX with additional deployment features. */
|
|
162
|
+
readonly msix?: MsixOptions | null;
|
|
146
163
|
/**
|
|
147
164
|
* WiX-based MSI installer options.
|
|
148
165
|
*
|
|
@@ -273,6 +290,67 @@ export interface CommonConfiguration {
|
|
|
273
290
|
* ```
|
|
274
291
|
*/
|
|
275
292
|
readonly npmArgs?: Array<string> | string | null;
|
|
293
|
+
/**
|
|
294
|
+
* Names of production dependencies that are excluded from the copied `node_modules`, even if they
|
|
295
|
+
* are declared in the `dependencies` section of `package.json`.
|
|
296
|
+
*
|
|
297
|
+
* electron-builder copies the resolved production dependency tree into the app. Some packages —
|
|
298
|
+
* notably `electron` — are already provided another way (the Electron runtime is embedded
|
|
299
|
+
* separately), so copying them would just duplicate what is already there. Such packages are
|
|
300
|
+
* excluded from the copy rather than rejected: they remain valid production dependencies for
|
|
301
|
+
* tooling purposes (e.g. SBOM, license, and vulnerability tracking) without being shipped twice.
|
|
302
|
+
*
|
|
303
|
+
* Only dependencies **declared by the app itself** are eligible: a listed name and the transitive
|
|
304
|
+
* dependencies required *only* by it are dropped, while anything also required by another (kept)
|
|
305
|
+
* production dependency stays bundled. A matching name that appears solely as a transitive
|
|
306
|
+
* dependency of a kept package is never excluded. Note that a kept package which `require()`s an
|
|
307
|
+
* excluded name at runtime *without declaring it* (relying on hoisting) will fail with
|
|
308
|
+
* `MODULE_NOT_FOUND` — declare such a dependency properly or remove the name from this list.
|
|
309
|
+
*
|
|
310
|
+
* Matching is by the dependency name as declared in `package.json`: an npm alias
|
|
311
|
+
* (`"custom-electron": "npm:electron@^30.0.0"`) is matched by its alias key (`custom-electron`),
|
|
312
|
+
* never by the underlying package name.
|
|
313
|
+
*
|
|
314
|
+
* Overriding this option **replaces** the default list, so include `electron` and `electron-builder`
|
|
315
|
+
* unless you intend to ship them. The most common reason to override is to *add* a dependency that a
|
|
316
|
+
* bundler (Vite, webpack, esbuild, …) already inlines into your app code: keep it in `dependencies`
|
|
317
|
+
* so SBOM/license tooling still sees it, and list it here so a duplicate copy is not packaged — e.g.
|
|
318
|
+
* `["electron", "electron-builder", "react", "react-dom"]`. Removing a default name keeps that
|
|
319
|
+
* package in the copied `node_modules`. Setting the option to `null` (or omitting it) applies the
|
|
320
|
+
* default list; to disable exclusion entirely, set it to an empty array `[]`. Each excluded package
|
|
321
|
+
* is logged once during packaging.
|
|
322
|
+
*
|
|
323
|
+
* @default ["electron", "electron-builder"]
|
|
324
|
+
*/
|
|
325
|
+
readonly ignoredProductionDependencies?: Array<string> | null;
|
|
326
|
+
/**
|
|
327
|
+
* Whether production dependencies that cannot be resolved during node-module collection are
|
|
328
|
+
* allowed — i.e. whether the build should continue with a warning instead of failing.
|
|
329
|
+
*
|
|
330
|
+
* During collection every production dependency must resolve to an installed package on disk. A
|
|
331
|
+
* dependency that does not resolve (`cannot find path for dependency` / `dependency not found on
|
|
332
|
+
* disk`) is not bundled, which typically breaks the packaged app at runtime with
|
|
333
|
+
* `MODULE_NOT_FOUND`.
|
|
334
|
+
*
|
|
335
|
+
* - `false` or `null` (default): the build fails after dependency collection completes,
|
|
336
|
+
* reporting the **complete** list of missing production dependencies at once.
|
|
337
|
+
* - `string[]`: the listed dependency names are allowed to be missing; any other missing
|
|
338
|
+
* production dependency still fails the build. Entries match the package name of the reported
|
|
339
|
+
* `name@version` entry (e.g. `some-native-module`, `@scope/pkg`), or an exact `name@version`
|
|
340
|
+
* string to allow only that resolved version to be missing.
|
|
341
|
+
* - `true`: missing production dependencies are only logged as warnings (the electron-builder
|
|
342
|
+
* ≤ 26 behavior).
|
|
343
|
+
*
|
|
344
|
+
* Missing *optional* dependencies (declared in `optionalDependencies`, e.g. `fsevents` on
|
|
345
|
+
* Linux/Windows, or platform-specific packages) are always allowed and never fail the build.
|
|
346
|
+
*
|
|
347
|
+
* Independent of {@link ignoredProductionDependencies}, which controls which dependencies are
|
|
348
|
+
* excluded from the copied `node_modules`; this option only controls validation of the
|
|
349
|
+
* collection result.
|
|
350
|
+
*
|
|
351
|
+
* @default false
|
|
352
|
+
*/
|
|
353
|
+
readonly allowMissingDependencies?: boolean | Array<string> | null;
|
|
276
354
|
/**
|
|
277
355
|
* Configuration for native Node.js module installation and rebuilding.
|
|
278
356
|
*
|
|
@@ -400,9 +478,14 @@ export interface Configuration extends CommonConfiguration, PlatformSpecificBuil
|
|
|
400
478
|
* Options forwarded to [`@electron/get`](https://github.com/electron/get) when downloading the
|
|
401
479
|
* Electron distribution to package.
|
|
402
480
|
*
|
|
403
|
-
*
|
|
481
|
+
* `checksums` (a map of artifact file name → SHA-256 hex) makes checksum validation fully offline —
|
|
482
|
+
* without it, `@electron/get` fetches `SHASUMS256.txt` from the network on every build, even when the
|
|
483
|
+
* artifact itself is already cached. When `checksums` is not configured, electron-builder automatically
|
|
484
|
+
* picks up a locally seeded `SHASUMS256.txt-<version>` (or `SHASUMS256.txt`) file at the root of the
|
|
485
|
+
* Electron cache directory. See the
|
|
486
|
+
* [air-gapped / offline builds guide](https://www.electron.build/tutorials/offline-air-gapped-builds).
|
|
404
487
|
*/
|
|
405
|
-
readonly
|
|
488
|
+
readonly electronGet?: ElectronGetOptions | null;
|
|
406
489
|
/**
|
|
407
490
|
* Electron branding overrides.
|
|
408
491
|
*
|
|
@@ -420,6 +503,14 @@ export interface Configuration extends CommonConfiguration, PlatformSpecificBuil
|
|
|
420
503
|
* different workspace).
|
|
421
504
|
*/
|
|
422
505
|
electronVersion?: string | null;
|
|
506
|
+
/**
|
|
507
|
+
* Whether to write `builder-effective-config.yaml` (the resolved configuration, including the detected
|
|
508
|
+
* `electronVersion`) to the output directory.
|
|
509
|
+
*
|
|
510
|
+
* Defaults to writing it only for local interactive builds: not on CI and not when stdout is piped.
|
|
511
|
+
* Set `true` to always write it, e.g. to read the resolved configuration in a CI step, or `false` to never write it.
|
|
512
|
+
*/
|
|
513
|
+
readonly writeEffectiveConfig?: boolean | null;
|
|
423
514
|
/**
|
|
424
515
|
* One or more configuration presets or file paths to merge into this configuration.
|
|
425
516
|
*
|
|
@@ -449,6 +540,10 @@ export interface NativeModulesConfig {
|
|
|
449
540
|
* Useful when pre-built binaries are not available for the target platform/arch combination,
|
|
450
541
|
* or when you need to ensure native modules are compiled against the exact Electron ABI.
|
|
451
542
|
*
|
|
543
|
+
* Only honored when the target platform matches the host platform: native modules cannot be
|
|
544
|
+
* cross-compiled from source for another OS, so for a cross-platform target native dependencies are
|
|
545
|
+
* rebuilt with prebuilt binaries for that target instead (and a warning is logged).
|
|
546
|
+
*
|
|
452
547
|
* @default false
|
|
453
548
|
*/
|
|
454
549
|
buildDependenciesFromSource?: boolean;
|
|
@@ -491,6 +586,29 @@ export interface NativeModulesConfig {
|
|
|
491
586
|
* @default "sequential"
|
|
492
587
|
*/
|
|
493
588
|
readonly rebuildMode?: "sequential" | "parallel" | null;
|
|
589
|
+
/**
|
|
590
|
+
* Whether to verify, after the app is packed, that every native binary shipped in the app was built for
|
|
591
|
+
* the target platform and architecture.
|
|
592
|
+
*
|
|
593
|
+
* electron-builder reads the header of each `.node` addon (and of other native libraries and executables
|
|
594
|
+
* such as `.so`, `.dylib`, `.dll`, `.exe`) in `app.asar`, `app.asar.unpacked` or the unpacked `app`
|
|
595
|
+
* directory, and compares its format (ELF / Mach-O / PE) and machine type against the target (for
|
|
596
|
+
* a macOS universal build, each per-arch slice is checked before the slices are merged). This catches a
|
|
597
|
+
* stale or host-platform binary left in `node_modules` by a skipped or cached rebuild, which otherwise
|
|
598
|
+
* only surfaces at runtime as `invalid ELF header` / `not a valid Win32 application` /
|
|
599
|
+
* `incompatible architecture`.
|
|
600
|
+
*
|
|
601
|
+
* Files whose package declares another platform via `package.json` `os`/`cpu`, or whose path names
|
|
602
|
+
* another platform/arch (e.g. prebuildify's `prebuilds/linux-arm64/`), are not loaded for this target
|
|
603
|
+
* and are ignored.
|
|
604
|
+
*
|
|
605
|
+
* - `true` (default) — a mismatched `.node` addon fails the build; other mismatched native files log a warning.
|
|
606
|
+
* - `"warn"` — log every mismatch as a warning and continue.
|
|
607
|
+
* - `false` — skip the check.
|
|
608
|
+
*
|
|
609
|
+
* @default true
|
|
610
|
+
*/
|
|
611
|
+
readonly verifyNativeBinaries?: boolean | "warn" | null;
|
|
494
612
|
}
|
|
495
613
|
export type Hook<T, V> = (contextOrPath: T) => Promise<V> | V;
|
|
496
614
|
export interface PackContext {
|
|
@@ -505,18 +623,12 @@ export type AfterPackContext = PackContext;
|
|
|
505
623
|
export type BeforePackContext = PackContext;
|
|
506
624
|
export type AfterExtractContext = PackContext;
|
|
507
625
|
/**
|
|
508
|
-
* Version pins and custom bundle overrides for the binary toolsets that electron-builder
|
|
509
|
-
* downloads and caches locally.
|
|
626
|
+
* Version pins and custom bundle overrides for the binary toolsets that electron-builder downloads and caches locally.
|
|
510
627
|
*
|
|
511
|
-
* Each toolset is a versioned archive hosted at
|
|
512
|
-
*
|
|
513
|
-
* Omitting a property (or setting it to `null`) selects the modern default for that toolset.
|
|
514
|
-
* Setting a property to `"0.0.0"` forces the legacy bundle — useful only for diagnosing
|
|
515
|
-
* regressions introduced by newer toolset bundles.
|
|
628
|
+
* Each toolset is a versioned archive hosted at [electron-userland/electron-builder-binaries](https://github.com/electron-userland/electron-builder-binaries/releases).
|
|
629
|
+
* Omitting a property (or setting it to `latest`) selects the modern default for that toolset.
|
|
516
630
|
*
|
|
517
|
-
* To supply your own bundle, set the property to a {@link ToolsetCustom} object with a `url`
|
|
518
|
-
* (https:// or file://) and a `checksum` for verification. The bundle must mirror the expected
|
|
519
|
-
* directory layout of the corresponding built-in bundle; see the build scripts at
|
|
631
|
+
* To supply your own bundle, set the property to a {@link ToolsetCustom} object with a `url` (https:// or file://) and a `checksum` for verification. The bundle must mirror the expected directory layout of the corresponding built-in bundle; see the build scripts at
|
|
520
632
|
* https://github.com/electron-userland/electron-builder-binaries/tree/master/packages.
|
|
521
633
|
*/
|
|
522
634
|
export interface ToolsetConfig {
|
|
@@ -526,41 +638,45 @@ export interface ToolsetConfig {
|
|
|
526
638
|
* The bundle ships:
|
|
527
639
|
* - **`signtool.exe`** (Windows) / **`osslsigncode`** (macOS & Linux) — used to sign `.exe`,
|
|
528
640
|
* `.dll`, and `.msix` artifacts.
|
|
529
|
-
* - **`rcedit`** —
|
|
530
|
-
* - **Windows Kits**
|
|
641
|
+
* - **`rcedit`** — embeds version metadata and icons into `.exe` files (legacy usage, migrated to npm `resedit` package).
|
|
642
|
+
* - **Windows Kits** — used by AppX/MSIX packaging (`makeappx`, `signtool`).
|
|
531
643
|
*
|
|
532
644
|
* Available versions:
|
|
533
|
-
* | Version |
|
|
534
|
-
*
|
|
535
|
-
* | `"0.0.0"` | Legacy bundle — `winCodeSign-2.6.0` (pre-v27
|
|
536
|
-
* | `"1.0.0"` |
|
|
537
|
-
* | `"1.1.
|
|
645
|
+
* | Version | Notes |
|
|
646
|
+
* |---------|-------|
|
|
647
|
+
* | `"0.0.0"` | Legacy bundle — `winCodeSign-2.6.0` (pre-v27) |
|
|
648
|
+
* | `"1.0.0"` | Windows Kits 10.0.26100.0, `osslsigncode` v2.9 |
|
|
649
|
+
* | `"1.1.1"` | Updates `osslsigncode` to v2.11 |
|
|
650
|
+
* | `"1.2.1"` | Adds native `osslsigncode` arm64 |
|
|
651
|
+
* | `"1.3.0"` | Includes support for Azure Trusted Signing `signtool` via dlib and .NET 8 runtime |
|
|
538
652
|
*
|
|
539
|
-
* Releases: https://github.com/electron-userland/electron-builder-binaries/
|
|
653
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/win-codesign/CHANGELOG.md
|
|
540
654
|
*
|
|
541
|
-
* @default "
|
|
655
|
+
* @default "latest"
|
|
542
656
|
*/
|
|
543
|
-
readonly winCodeSign?: "0.0.0" | "1.0.0" | "1.1.0" | ToolsetCustom |
|
|
657
|
+
readonly winCodeSign?: "0.0.0" | "1.0.0" | "1.1.0" | "1.1.1" | "1.2.1" | "1.3.0" | ToolsetCustom | "latest";
|
|
544
658
|
/**
|
|
545
659
|
* Version of the AppImage toolset bundle used for building `.AppImage` files.
|
|
546
660
|
*
|
|
547
661
|
* The bundle ships:
|
|
548
|
-
* - **`mksquashfs`** — creates the SquashFS filesystem embedded in the AppImage.
|
|
662
|
+
* - **`mksquashfs`** — creates the SquashFS filesystem embedded in the AppImage. It also packs legacy-base (core18/core20/core22) snaps built from the snap template app.
|
|
549
663
|
* - **`desktop-file-validate`** — validates the generated `.desktop` entry.
|
|
550
664
|
* - **AppImage runtime** — the self-executing stub that mounts the SquashFS at launch.
|
|
551
665
|
*
|
|
552
666
|
* Available versions:
|
|
553
667
|
* | Version | Runtime date | Notes |
|
|
554
668
|
* |---------|-------------|-------|
|
|
555
|
-
* | `"0.0.0"` | Legacy | FUSE2-based AppImage runtime (pre-v27
|
|
556
|
-
* | `"1.0.
|
|
557
|
-
* | `"1.0
|
|
669
|
+
* | `"0.0.0"` | Legacy | FUSE2-based AppImage runtime (pre-v27) |
|
|
670
|
+
* | `"1.0.3"` | 20251108 | Introduces static AppImage runtime |
|
|
671
|
+
* | `"1.1.0"` | 20251108 | Adds `unsquashfs` support |
|
|
558
672
|
*
|
|
559
|
-
*
|
|
673
|
+
* An explicit version pin always selects exactly that release.
|
|
560
674
|
*
|
|
561
|
-
*
|
|
675
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/appimage/CHANGELOG.md
|
|
676
|
+
*
|
|
677
|
+
* @default "latest"
|
|
562
678
|
*/
|
|
563
|
-
readonly appimage?: "0.0.0" | "1.0.
|
|
679
|
+
readonly appimage?: "0.0.0" | "1.0.3" | "1.1.0" | ToolsetCustom | "latest";
|
|
564
680
|
/**
|
|
565
681
|
* Version of the NSIS toolset bundle used to compile Windows installers.
|
|
566
682
|
*
|
|
@@ -573,14 +689,17 @@ export interface ToolsetConfig {
|
|
|
573
689
|
* Available versions:
|
|
574
690
|
* | Version | `makensis` version | Notes |
|
|
575
691
|
* |---------|------------------|-------|
|
|
576
|
-
* | `"0.0.0"` | 3.0.4.1 | Legacy split bundle — `nsis` + `nsis-resources` archives (pre-v27
|
|
577
|
-
* | `"1.2.1"` | 3.12 | Unified bundle — single archive, entrypoint scripts auto-set `NSISDIR`
|
|
692
|
+
* | `"0.0.0"` | 3.0.4.1 | Legacy split bundle — `nsis` + `nsis-resources` archives (pre-v27) |
|
|
693
|
+
* | `"1.2.1"` | 3.12 | Unified bundle — single archive, entrypoint scripts auto-set `NSISDIR` |
|
|
694
|
+
*
|
|
695
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/nsis/CHANGELOG.md
|
|
578
696
|
*
|
|
579
|
-
*
|
|
697
|
+
* A custom bundle (a {@link ToolsetCustom} object) must follow the layout at
|
|
698
|
+
* https://www.electron.build/docs/toolsets#custom-nsis-bundle-layout
|
|
580
699
|
*
|
|
581
|
-
* @default "
|
|
700
|
+
* @default "latest"
|
|
582
701
|
*/
|
|
583
|
-
readonly nsis?: "0.0.0" | "1.2.1" | ToolsetCustom |
|
|
702
|
+
readonly nsis?: "0.0.0" | "1.2.1" | ToolsetCustom | "latest";
|
|
584
703
|
/**
|
|
585
704
|
* Version of the Wine bundle used to run Windows tools (NSIS, rcedit, signtool) on
|
|
586
705
|
* non-Windows hosts (macOS and Linux).
|
|
@@ -591,16 +710,22 @@ export interface ToolsetConfig {
|
|
|
591
710
|
* Available versions:
|
|
592
711
|
* | Version | Wine version | Platform support | Notes |
|
|
593
712
|
* |---------|-------------|-----------------|-------|
|
|
594
|
-
* | `"0.0.0"` | 4.0.1 | macOS
|
|
713
|
+
* | `"0.0.0"` | 4.0.1 | macOS | Legacy portable bundle (pre-v27) |
|
|
714
|
+
* | `"1.0.1"` | 11.0 | macOS | Supports arm64 macOS via Rosetta |
|
|
715
|
+
* | `"system"` | host install | macOS, Linux | Uses the `wine` binary on `PATH` instead of a bundle |
|
|
716
|
+
*
|
|
717
|
+
* `"system"` is the replacement for the `USE_SYSTEM_WINE` environment variable removed in v27, and
|
|
718
|
+
* is what `"latest"` (the default) currently resolves to on every platform: the published `"1.0.1"`
|
|
719
|
+
* bundles ship no PE builtins, so a host Wine installation is required to build Windows targets on
|
|
720
|
+
* macOS or Linux.
|
|
595
721
|
*
|
|
596
|
-
*
|
|
597
|
-
* Set `USE_SYSTEM_WINE=true` to force system Wine regardless of this setting.
|
|
722
|
+
* To use a custom Wine binary, use a `ToolsetCustom` object.
|
|
598
723
|
*
|
|
599
|
-
* Releases: https://github.com/electron-userland/electron-builder-binaries/
|
|
724
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/wine/CHANGELOG.md
|
|
600
725
|
*
|
|
601
|
-
* @default "
|
|
726
|
+
* @default "latest"
|
|
602
727
|
*/
|
|
603
|
-
readonly wine?: "0.0.0" | ToolsetCustom |
|
|
728
|
+
readonly wine?: "0.0.0" | "1.0.1" | "system" | ToolsetCustom | "latest";
|
|
604
729
|
/**
|
|
605
730
|
* Version of the FPM bundle used to build Linux packages (`.deb`, `.rpm`, `.pacman`, etc.)
|
|
606
731
|
* on macOS and Linux hosts.
|
|
@@ -610,11 +735,11 @@ export interface ToolsetConfig {
|
|
|
610
735
|
* |---------|------------|-------|
|
|
611
736
|
* | `"2.2.1"` | 1.17.0 (Ruby 3.4.3) | Current default |
|
|
612
737
|
*
|
|
613
|
-
* Releases: https://github.com/electron-userland/electron-builder-binaries/
|
|
738
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/fpm/CHANGELOG.md
|
|
614
739
|
*
|
|
615
|
-
* @default "
|
|
740
|
+
* @default "latest"
|
|
616
741
|
*/
|
|
617
|
-
readonly fpm?: "2.2.1" | ToolsetCustom |
|
|
742
|
+
readonly fpm?: "2.2.1" | ToolsetCustom | "latest";
|
|
618
743
|
/**
|
|
619
744
|
* Version of the Linux-tools-mac bundle used to produce `.tar.lz` archives and build
|
|
620
745
|
* Linux targets on macOS hosts.
|
|
@@ -624,13 +749,14 @@ export interface ToolsetConfig {
|
|
|
624
749
|
* Available versions:
|
|
625
750
|
* | Version | Notes |
|
|
626
751
|
* |---------|-------|
|
|
627
|
-
* | `"1.0.0"` |
|
|
752
|
+
* | `"1.0.0"` | gnu-tar, lzip, makedepend, glib, libgsf, libtool, pcre, gettext, binutils |
|
|
753
|
+
* | `"1.0.1"` | Same tools rebuilt on macOS 15 runners — binaries run on macOS 15+ (1.0.0 required macOS 26) |
|
|
628
754
|
*
|
|
629
|
-
* Releases: https://github.com/electron-userland/electron-builder-binaries/
|
|
755
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/linux-tools-mac/CHANGELOG.md
|
|
630
756
|
*
|
|
631
|
-
* @default "
|
|
757
|
+
* @default "latest"
|
|
632
758
|
*/
|
|
633
|
-
readonly linuxToolsMac?: "1.0.0" | ToolsetCustom |
|
|
759
|
+
readonly linuxToolsMac?: "1.0.0" | "1.0.1" | ToolsetCustom | "latest";
|
|
634
760
|
/**
|
|
635
761
|
* Version of the 7-Zip binary bundle used internally to extract `.7z` and `.tar.xz` archives.
|
|
636
762
|
*
|
|
@@ -642,9 +768,17 @@ export interface ToolsetConfig {
|
|
|
642
768
|
* (or a bare `file://` directory). `.7z` and `.tar.xz` archives cannot be used here because
|
|
643
769
|
* extracting them requires 7za — a circular dependency.
|
|
644
770
|
*
|
|
645
|
-
*
|
|
771
|
+
* Available versions:
|
|
772
|
+
* | Version | Notes |
|
|
773
|
+
* |---------|-------|
|
|
774
|
+
* | `"1.0.0"` | Shipped the 32-bit `7za.exe` for every Windows arch (1.75 GiB memory cap, no LZMA2 multithreading on x64/arm64) |
|
|
775
|
+
* | `"1.0.1"` | Correct per-arch Windows binaries (x64, ia32, arm64) |
|
|
776
|
+
*
|
|
777
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/7zip/CHANGELOG.md
|
|
778
|
+
*
|
|
779
|
+
* @default "latest"
|
|
646
780
|
*/
|
|
647
|
-
readonly sevenZip?: "1.0.0" | ToolsetCustom |
|
|
781
|
+
readonly sevenZip?: "1.0.0" | "1.0.1" | ToolsetCustom | "latest";
|
|
648
782
|
/**
|
|
649
783
|
* Version of the icons-conversion bundle used to convert source images to `.icns`, `.ico`,
|
|
650
784
|
* and PNG icon sets.
|
|
@@ -654,13 +788,37 @@ export interface ToolsetConfig {
|
|
|
654
788
|
* Available versions:
|
|
655
789
|
* | Version | Notes |
|
|
656
790
|
* |---------|-------|
|
|
657
|
-
* | `"1.
|
|
791
|
+
* | `"1.2.3"` | Writes 16px/32px ICNS entries as `ic04`/`ic05` ARGB (fixes corrupt small icons in Finder) |
|
|
792
|
+
*
|
|
793
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/icons/CHANGELOG.md
|
|
794
|
+
*
|
|
795
|
+
* @default "latest"
|
|
796
|
+
*/
|
|
797
|
+
readonly icons?: "1.2.3" | ToolsetCustom | "latest";
|
|
798
|
+
/**
|
|
799
|
+
* Version of the `squirrel.windows` bundle used to build Squirrel.Windows installers.
|
|
800
|
+
*
|
|
801
|
+
* The bundle ships the Squirrel vendor toolset under `electron-winstaller/vendor/`:
|
|
802
|
+
* - **`Squirrel.exe`** / **`Squirrel-Mono.exe`** — releasify the app into `Setup.exe` (and an optional MSI).
|
|
803
|
+
* - **`SyncReleases.exe`** — downloads prior releases to produce delta packages.
|
|
804
|
+
* - **`nuget.exe`**, **`7z`** — pack the app into a `.nupkg` and compress release assets.
|
|
805
|
+
*
|
|
806
|
+
* `rcedit.exe` is provisioned from the {@link winCodeSign} toolset at runtime (on every platform;
|
|
807
|
+
* under Wine on non-Windows hosts). Building an MSI additionally uses the shared WiX toolset.
|
|
808
|
+
*
|
|
809
|
+
* Available versions:
|
|
810
|
+
* | Version | Notes |
|
|
811
|
+
* |---------|-------|
|
|
812
|
+
* | `"1.1.1"` | Squirrel.Windows 2.0.1 (patched) with a standalone, checksum-verified `nuget.exe` 6.14.0 |
|
|
658
813
|
*
|
|
659
|
-
*
|
|
814
|
+
* Set to a {@link ToolsetCustom} object to supply your own bundle — it must contain the
|
|
815
|
+
* `electron-winstaller/vendor/` subtree. Only used when building the `squirrelWindows` target.
|
|
660
816
|
*
|
|
661
|
-
*
|
|
817
|
+
* Releases: https://github.com/electron-userland/electron-builder-binaries/blob/master/packages/squirrel.windows/CHANGELOG.md
|
|
818
|
+
*
|
|
819
|
+
* @default "latest"
|
|
662
820
|
*/
|
|
663
|
-
readonly
|
|
821
|
+
readonly squirrel?: "1.1.1" | ToolsetCustom | "latest";
|
|
664
822
|
}
|
|
665
823
|
/**
|
|
666
824
|
* A custom toolset bundle supplied by the user in place of a built-in versioned bundle.
|
|
@@ -671,13 +829,16 @@ export interface ToolsetConfig {
|
|
|
671
829
|
*
|
|
672
830
|
* File formats supported for `url` archives: `.zip`, `.7z`, `.tar.gz`, `.tar.xz`.
|
|
673
831
|
*
|
|
832
|
+
* `checksum` is the SHA-256 of the archive as 64 hex characters or its SHA-512 as 88 base64 characters (the format v26
|
|
833
|
+
* used for all toolset checksums), the same for every toolset. See https://www.electron.build/docs/toolsets#custom-toolset-checksum
|
|
834
|
+
*
|
|
674
835
|
* @example
|
|
675
836
|
* ```json
|
|
676
837
|
* {
|
|
677
838
|
* "toolsets": {
|
|
678
839
|
* "nsis": {
|
|
679
840
|
* "url": "file:///path/to/my-nsis-bundle.tar.gz",
|
|
680
|
-
* "checksum": "
|
|
841
|
+
* "checksum": "56997fdefe25e7928a1a68b4583d08b240b66cf660234053b20131a74cc082f4",
|
|
681
842
|
* "version": "my-custom-1.0"
|
|
682
843
|
* }
|
|
683
844
|
* }
|
|
@@ -696,14 +857,23 @@ export interface ToolsetCustom {
|
|
|
696
857
|
*/
|
|
697
858
|
readonly url: string;
|
|
698
859
|
/**
|
|
699
|
-
*
|
|
860
|
+
* Checksum of the bundle archive, in one of two formats:
|
|
861
|
+
* - the SHA-256 as 64 hex characters (uppercase is lowercased), e.g. `shasum -a 256 <archive>` (macOS / Linux),
|
|
862
|
+
* `(Get-FileHash -Algorithm SHA256 <archive>).Hash` (PowerShell) or `certutil -hashfile <archive> SHA256`;
|
|
863
|
+
* - the SHA-512 as 88 base64 characters, the format v26 used for all toolset checksums, e.g.
|
|
864
|
+
* `openssl dgst -sha512 -binary <archive> | openssl base64 -A`.
|
|
865
|
+
*
|
|
866
|
+
* Prefixed forms such as `sha256:…` or `sha512-…`, and a hex-encoded SHA-512, are rejected before anything is downloaded.
|
|
867
|
+
* A downloaded archive is verified before it is cached or extracted, and a local `file://` archive before it is extracted.
|
|
868
|
+
*
|
|
700
869
|
* Required for remote (`https://`) URLs and local archive files (`file://`).
|
|
701
|
-
* Not needed for bare directory paths — the directory is used as-is with no caching.
|
|
870
|
+
* Not needed for bare directory paths — the directory is used as-is with no caching and no verification.
|
|
871
|
+
* @see https://www.electron.build/docs/toolsets#custom-toolset-checksum
|
|
702
872
|
*/
|
|
703
873
|
readonly checksum?: string;
|
|
704
874
|
/**
|
|
705
875
|
* Optional version label used in the local cache directory name.
|
|
706
|
-
* Falls back to the first 8 characters of `checksum` when omitted.
|
|
876
|
+
* Falls back to the first 8 hex characters of the `checksum` digest when omitted.
|
|
707
877
|
*/
|
|
708
878
|
readonly version?: string;
|
|
709
879
|
}
|
|
@@ -848,7 +1018,7 @@ export interface Hooks {
|
|
|
848
1018
|
* `electron-v${version}-${platformName}-${arch}.zip`.
|
|
849
1019
|
*
|
|
850
1020
|
* When not set, electron-builder downloads the official Electron release from GitHub (or the
|
|
851
|
-
* mirror configured via `
|
|
1021
|
+
* mirror configured via `electronGet`).
|
|
852
1022
|
*
|
|
853
1023
|
* Receives a {@link PrepareApplicationStageDirectoryOptions}.
|
|
854
1024
|
*/
|
|
@@ -863,9 +1033,9 @@ export interface MetadataDirectories {
|
|
|
863
1033
|
* custom NSIS scripts, etc.) that electron-builder reads during packaging.
|
|
864
1034
|
*
|
|
865
1035
|
* **Build resources are not copied into the packaged app.** If you need runtime access to a
|
|
866
|
-
* file (e.g. a tray icon), include it explicitly via the `files` option:
|
|
1036
|
+
* file (e.g. a tray icon), include it explicitly via the `fileOptions.files` option:
|
|
867
1037
|
* ```json
|
|
868
|
-
* { "files": ["**\/*", "build/icon.*"] }
|
|
1038
|
+
* { "fileOptions": { "files": ["**\/*", "build/icon.*"] } }
|
|
869
1039
|
* ```
|
|
870
1040
|
*
|
|
871
1041
|
* @default "build"
|
|
@@ -888,109 +1058,6 @@ export interface MetadataDirectories {
|
|
|
888
1058
|
*/
|
|
889
1059
|
readonly app?: string | null;
|
|
890
1060
|
}
|
|
891
|
-
/**
|
|
892
|
-
* Feature flags ("fuses") baked into the Electron binary at build time.
|
|
893
|
-
*
|
|
894
|
-
* All options map 1:1 to the flags documented by
|
|
895
|
-
* [`@electron/fuses`](https://github.com/electron/fuses) and the upstream
|
|
896
|
-
* [Electron fuses guide](https://www.electronjs.org/docs/latest/tutorial/fuses).
|
|
897
|
-
*
|
|
898
|
-
* electron-builder flips fuses after packaging and **before** signing so that the final
|
|
899
|
-
* code signature covers the modified binary. On Apple Silicon, the ad-hoc signature is
|
|
900
|
-
* re-applied automatically after flipping fuses.
|
|
901
|
-
*/
|
|
902
|
-
export interface FuseOptionsV1 {
|
|
903
|
-
/**
|
|
904
|
-
* Controls whether the `ELECTRON_RUN_AS_NODE` environment variable is respected.
|
|
905
|
-
*
|
|
906
|
-
* When `true` (the Electron default), setting `ELECTRON_RUN_AS_NODE=1` in the environment
|
|
907
|
-
* makes Electron behave like a plain Node.js process, bypassing the app entirely. Disable
|
|
908
|
-
* this fuse in production apps to prevent that escape path.
|
|
909
|
-
*
|
|
910
|
-
* **Note:** Disabling this fuse also breaks `process.fork()` in the main process because
|
|
911
|
-
* it relies on `ELECTRON_RUN_AS_NODE` internally. Use
|
|
912
|
-
* [Utility Processes](https://www.electronjs.org/docs/latest/api/utility-process) as a
|
|
913
|
-
* replacement.
|
|
914
|
-
*/
|
|
915
|
-
runAsNode?: boolean;
|
|
916
|
-
/**
|
|
917
|
-
* Controls whether the Chromium cookie store is encrypted using OS-level cryptography keys.
|
|
918
|
-
*
|
|
919
|
-
* When enabled, cookies are stored encrypted on disk (the same mechanism Chrome uses).
|
|
920
|
-
* **This is a one-way transition**: existing unencrypted cookies are re-encrypted on write, but
|
|
921
|
-
* disabling the fuse afterwards will leave the cookie database unreadable.
|
|
922
|
-
*
|
|
923
|
-
* Most production apps can safely enable this fuse.
|
|
924
|
-
*/
|
|
925
|
-
enableCookieEncryption?: boolean;
|
|
926
|
-
/**
|
|
927
|
-
* Controls whether the [`NODE_OPTIONS`](https://nodejs.org/api/cli.html#node_optionsoptions)
|
|
928
|
-
* and `NODE_EXTRA_CA_CERTS` environment variables are respected.
|
|
929
|
-
*
|
|
930
|
-
* `NODE_OPTIONS` allows injecting arbitrary Node.js runtime flags (e.g. `--require`) and is
|
|
931
|
-
* rarely needed in production. Most apps can safely disable this fuse.
|
|
932
|
-
*/
|
|
933
|
-
enableNodeOptionsEnvironmentVariable?: boolean;
|
|
934
|
-
/**
|
|
935
|
-
* Controls whether the `--inspect`, `--inspect-brk`, and related Node.js debugger flags are
|
|
936
|
-
* honoured.
|
|
937
|
-
*
|
|
938
|
-
* When disabled, `SIGUSR1` no longer opens the V8 inspector in the main process either.
|
|
939
|
-
* Most production apps can safely disable this fuse.
|
|
940
|
-
*/
|
|
941
|
-
enableNodeCliInspectArguments?: boolean;
|
|
942
|
-
/**
|
|
943
|
-
* Enables ASAR integrity validation — Electron verifies the embedded SHA-256 hash of
|
|
944
|
-
* `app.asar` before loading it.
|
|
945
|
-
*
|
|
946
|
-
* Platform support:
|
|
947
|
-
* - macOS: Electron ≥ 16.0.0
|
|
948
|
-
* - Windows: Electron ≥ 30.0.0
|
|
949
|
-
*
|
|
950
|
-
* For this fuse to be meaningful, `asar.disableIntegrity` must **not** be
|
|
951
|
-
* `true` (otherwise the hash is not embedded).
|
|
952
|
-
*
|
|
953
|
-
* See the [ASAR Integrity guide](https://www.electronjs.org/docs/latest/tutorial/asar-integrity).
|
|
954
|
-
*/
|
|
955
|
-
enableEmbeddedAsarIntegrityValidation?: boolean;
|
|
956
|
-
/**
|
|
957
|
-
* When enabled, Electron searches for the app exclusively in `app.asar`, skipping the `app`
|
|
958
|
-
* directory and `default_app.asar` fallbacks.
|
|
959
|
-
*
|
|
960
|
-
* Combined with `enableEmbeddedAsarIntegrityValidation`, this makes it impossible to side-load
|
|
961
|
-
* unverified code by replacing `app.asar` with an unarchived `app/` directory.
|
|
962
|
-
*/
|
|
963
|
-
onlyLoadAppFromAsar?: boolean;
|
|
964
|
-
/**
|
|
965
|
-
* When enabled, the browser (main) process uses a separate V8 snapshot file
|
|
966
|
-
* (`browser_v8_context_snapshot.bin`) instead of the shared one.
|
|
967
|
-
*
|
|
968
|
-
* This is only useful when you ship a custom V8 snapshot for the main process that differs
|
|
969
|
-
* from the renderer snapshot. Standard apps do not need this.
|
|
970
|
-
*/
|
|
971
|
-
loadBrowserProcessSpecificV8Snapshot?: boolean;
|
|
972
|
-
/**
|
|
973
|
-
* Controls whether pages loaded from the `file://` protocol receive elevated privileges
|
|
974
|
-
* beyond what a standard web browser would grant.
|
|
975
|
-
*
|
|
976
|
-
* These extra privileges include `fetch` to other `file://` URLs, service workers, and
|
|
977
|
-
* universal frame access for child frames also on `file://`. This behaviour pre-dates modern
|
|
978
|
-
* Electron security best practices.
|
|
979
|
-
*
|
|
980
|
-
* Disable this fuse if your app does not load content directly from `file://` (i.e. you use
|
|
981
|
-
* a [custom protocol](https://www.electronjs.org/docs/latest/tutorial/security#18-avoid-usage-of-the-file-protocol-and-prefer-usage-of-custom-protocols)).
|
|
982
|
-
*/
|
|
983
|
-
grantFileProtocolExtraPrivileges?: boolean;
|
|
984
|
-
/**
|
|
985
|
-
* Re-applies the ad-hoc codesignature on macOS after fuses are flipped.
|
|
986
|
-
*
|
|
987
|
-
* electron-builder already re-signs the app after flipping fuses, so this flag is
|
|
988
|
-
* generally not needed and exists only as a compatibility shim for edge cases.
|
|
989
|
-
*
|
|
990
|
-
* See [`@electron/fuses` — Apple Silicon](https://github.com/electron/fuses?tab=readme-ov-file#apple-silicon).
|
|
991
|
-
*/
|
|
992
|
-
resetAdHocDarwinSignature?: boolean;
|
|
993
|
-
}
|
|
994
1061
|
/**
|
|
995
1062
|
* Configuration for experimental concurrent builds.
|
|
996
1063
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../src/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAClK,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAA;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,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