mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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_WELCOMEFINISHPAGE_BITMAP "installer-side.bmp"
|
||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
||||
!define MUI_ABORTWARNING
|
||||
|
||||
; Uninstaller
|
||||
|
@ -106,10 +107,11 @@
|
|||
; Macros
|
||||
|
||||
!macro download url filename
|
||||
DetailPrint "Attempting to download ${url} as ${filename}"
|
||||
NSISdl::download ${url} ${filename}
|
||||
Pop $0
|
||||
StrCmp $0 "success" +3
|
||||
MessageBox MB_OK "Download failed: $0"
|
||||
DetailPrint "Download failed: $0"
|
||||
Quit
|
||||
!macroend
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue