Skip to content

Commit

Permalink
* Windows installer will prompt the user with an error on download fa…
Browse files Browse the repository at this point in the history
…ilure.
  • Loading branch information
BTAxis authored and BTAxis committed Feb 23, 2012
1 parent ba7cc0e commit 900736f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extras/win_installer/naev.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ Section "Naev Data (Download)" DataSection

AddSize 202159 ;Size (kB) of Naev ndata
NSISdl::download "http://voxel.dl.sourceforge.net/project/naev/naev-${VERSION}/ndata-${VERSION}" "ndata"
Pop $R0 ;Get the return value
StrCmp $R0 "success" +2
MessageBox MB_OK "Download failed: $R0"

SectionEnd

Expand Down

0 comments on commit 900736f

Please sign in to comment.