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
30
electron/node_modules/app-builder-lib/templates/nsis/uninstaller.nsh
generated
vendored
30
electron/node_modules/app-builder-lib/templates/nsis/uninstaller.nsh
generated
vendored
|
|
@ -8,6 +8,13 @@ Function un.onInit
|
|||
|
||||
!insertmacro check64BitAndSetRegView
|
||||
|
||||
# Parse command line for /S flag and set silent mode
|
||||
${GetParameters} $R0
|
||||
${GetOptions} $R0 "/S" $R1
|
||||
${IfNot} ${Errors}
|
||||
SetSilent silent
|
||||
${EndIf}
|
||||
|
||||
${If} ${Silent}
|
||||
call un.checkAppRunning
|
||||
${else}
|
||||
|
|
@ -115,7 +122,7 @@ Function un.restoreFiles
|
|||
Goto continue
|
||||
|
||||
isNotDir:
|
||||
Rename $PLUGINSDIR\old-install$R0\$R2" "$INSTDIR$R0\$R2"
|
||||
Rename "$PLUGINSDIR\old-install$R0\$R2" "$INSTDIR$R0\$R2"
|
||||
|
||||
continue:
|
||||
FindNext $R1 $R2
|
||||
|
|
@ -131,7 +138,12 @@ Function un.restoreFiles
|
|||
Exch $R0
|
||||
FunctionEnd
|
||||
|
||||
Section "un.install"
|
||||
!ifndef UNINSTALL_SECTION_NAME
|
||||
!define UNINSTALL_SECTION_NAME "Uninstall"
|
||||
!endif
|
||||
|
||||
Section "un.${UNINSTALL_SECTION_NAME}"
|
||||
SectionIn RO
|
||||
# for assisted installer we check it here to show progress
|
||||
!ifndef ONE_CLICK
|
||||
${IfNot} ${Silent}
|
||||
|
|
@ -141,6 +153,10 @@ Section "un.install"
|
|||
|
||||
!insertmacro setLinkVars
|
||||
|
||||
!ifmacrodef customUnInstall
|
||||
!insertmacro customUnInstall
|
||||
!endif
|
||||
|
||||
# delete the installed files
|
||||
!ifmacrodef customRemoveFiles
|
||||
!insertmacro customRemoveFiles
|
||||
|
|
@ -165,6 +181,8 @@ Section "un.install"
|
|||
|
||||
${endif}
|
||||
|
||||
# Move out of $INSTDIR so it can be removed
|
||||
SetOutPath $TEMP
|
||||
# Remove all files (or remaining shallow directories from the block above)
|
||||
RMDir /r $INSTDIR
|
||||
!endif
|
||||
|
|
@ -235,11 +253,11 @@ Section "un.install"
|
|||
!endif
|
||||
DeleteRegKey SHELL_CONTEXT "${INSTALL_REGISTRY_KEY}"
|
||||
|
||||
!ifmacrodef customUnInstall
|
||||
!insertmacro customUnInstall
|
||||
!endif
|
||||
|
||||
!ifdef ONE_CLICK
|
||||
!insertmacro quitSuccess
|
||||
!endif
|
||||
SectionEnd
|
||||
|
||||
!ifmacrodef customUnInstallSection
|
||||
!insertmacro customUnInstallSection
|
||||
!endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue