mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Added debug info to download macro
This commit is contained in:
parent
1d8e6b25c9
commit
5be7005357
1 changed files with 3 additions and 1 deletions
|
@ -74,6 +74,7 @@
|
||||||
!define MUI_HEADERIMAGE_BITMAP "installer-top.bmp"
|
!define MUI_HEADERIMAGE_BITMAP "installer-top.bmp"
|
||||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "installer-side.bmp"
|
!define MUI_WELCOMEFINISHPAGE_BITMAP "installer-side.bmp"
|
||||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||||
|
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
|
|
||||||
; Uninstaller
|
; Uninstaller
|
||||||
|
@ -106,10 +107,11 @@
|
||||||
; Macros
|
; Macros
|
||||||
|
|
||||||
!macro download url filename
|
!macro download url filename
|
||||||
|
DetailPrint "Attempting to download ${url} as ${filename}"
|
||||||
NSISdl::download ${url} ${filename}
|
NSISdl::download ${url} ${filename}
|
||||||
Pop $0
|
Pop $0
|
||||||
StrCmp $0 "success" +3
|
StrCmp $0 "success" +3
|
||||||
MessageBox MB_OK "Download failed: $0"
|
DetailPrint "Download failed: $0"
|
||||||
Quit
|
Quit
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue