Install downloaded updates while in tray
This commit is contained in:
parent
c4521a063c
commit
12a2ec8dd4
6 changed files with 87 additions and 24 deletions
|
@ -45,3 +45,17 @@ ManifestDPIAware true
|
|||
|
||||
end_semver_check:
|
||||
!macroend
|
||||
|
||||
!macro customInstall
|
||||
${If} ${Silent}
|
||||
${AndIf} ${isUpdated}
|
||||
# Copied from app-builder-lib templates/nsis/common.nsh:
|
||||
|
||||
# "otherwise app window will be in background"
|
||||
HideWindow
|
||||
|
||||
# Signal modification: '--start-in-tray' added
|
||||
${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" \
|
||||
"--updated --start-in-tray"
|
||||
${EndIf}
|
||||
!macroend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue