Files
deepseek-harness/apps/desktop/scripts/restart-banner.nsh
T

27 lines
505 B
NSIS

!ifndef BUILD_UNINSTALLER
Var RestartStatusJob
!endif
!macro ShowRestartBanner
Push $0
${If} ${Errors}
StrCpy $0 1
${Else}
StrCpy $0 0
${EndIf}
Push $1
Push $2
StrCpy $1 0
StrCpy $2 "$(INSTALLER_UPDATE_WAIT)"
System::Call '$PLUGINSDIR\window-frame.dll::InstallerStartRestartStatus(w "$EXEPATH", w "$InstallerTheme", i $LANGUAGE, w r2) p.r1 ?c'
StrCpy $RestartStatusJob $1
Pop $2
Pop $1
${If} $0 == 1
SetErrors
${Else}
ClearErrors
${EndIf}
Pop $0
!macroend