forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
15
electron/node_modules/app-builder-lib/templates/nsis/installer.nsi
generated
vendored
15
electron/node_modules/app-builder-lib/templates/nsis/installer.nsi
generated
vendored
|
|
@ -10,6 +10,13 @@ Var oldMenuDirectory
|
|||
!include "multiUser.nsh"
|
||||
!include "allowOnlyOneInstallerInstance.nsh"
|
||||
|
||||
!ifdef BUILD_UNINSTALLER
|
||||
!ifmacrodef customUnInstallSection
|
||||
!define MUI_COMPONENTSPAGE_NODESC
|
||||
!insertmacro MUI_UNPAGE_COMPONENTS
|
||||
!endif
|
||||
!endif
|
||||
|
||||
!ifdef INSTALL_MODE_PER_ALL_USERS
|
||||
!ifdef BUILD_UNINSTALLER
|
||||
RequestExecutionLevel user
|
||||
|
|
@ -40,6 +47,8 @@ Var oldMenuDirectory
|
|||
!endif
|
||||
|
||||
Function .onInit
|
||||
Call setInstallSectionSpaceRequired
|
||||
|
||||
SetOutPath $INSTDIR
|
||||
${LogSet} on
|
||||
|
||||
|
|
@ -82,7 +91,7 @@ FunctionEnd
|
|||
!include "installUtil.nsh"
|
||||
!endif
|
||||
|
||||
Section "install"
|
||||
Section "install" INSTALL_SECTION_ID
|
||||
!ifndef BUILD_UNINSTALLER
|
||||
# If we're running a silent upgrade of a per-machine installation, elevate so extracting the new app will succeed.
|
||||
# For a non-silent install, the elevation will be triggered when the install mode is selected in the UI,
|
||||
|
|
@ -114,6 +123,10 @@ Section "install"
|
|||
!endif
|
||||
SectionEnd
|
||||
|
||||
Function setInstallSectionSpaceRequired
|
||||
!insertmacro setSpaceRequired ${INSTALL_SECTION_ID}
|
||||
FunctionEnd
|
||||
|
||||
!ifdef BUILD_UNINSTALLER
|
||||
!include "uninstaller.nsh"
|
||||
!endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue