Better management for hakf/tlk archive
This commit is contained in:
parent
70208f1b38
commit
0502ff9ae2
@ -3,12 +3,14 @@ Function Page_DownloadContent
|
||||
Pop $0
|
||||
|
||||
|
||||
IfFileExists "$EXEDIR\sinfar_all_files_v30.7z" skip_hak_download
|
||||
|
||||
; inetc::get /CAPTION "Downloading Sinfar custom content" /POPUP "Sinfar v30 Files" /QUESTION "" "https://sinfar.net/haks/sinfar_all_files_v30.7z" "$INSTPATH\sinfarFiles.7z"
|
||||
; Pop $0
|
||||
; StrCmp $0 "OK" +2
|
||||
; Goto download_failed
|
||||
inetc::get /CAPTION "Downloading Sinfar custom content" /POPUP "Sinfar v30 Files" /QUESTION "" "https://sinfar.net/haks/sinfar_all_files_v30.7z" "$EXEDIR\sinfar_all_files_v30.7z"
|
||||
Pop $0
|
||||
StrCmp $0 "OK" +2
|
||||
Goto download_failed
|
||||
|
||||
skip_hak_download:
|
||||
|
||||
StrCmp $INSTALL_TYPE "diamond" diamond_download ee_download
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
!include "nsDialogs.nsh"
|
||||
|
||||
Var InstallTypeRadio_NWNDIAMOND
|
||||
Var InstallTypeRadio_NWNEE
|
||||
;Var InstallTypeRadio_NWNEE
|
||||
|
||||
Function Page_GameSelection
|
||||
nsDialogs::Create 1018
|
||||
|
2
main.nsi
2
main.nsi
@ -1,3 +1,5 @@
|
||||
!define ARCH "x64"
|
||||
|
||||
;!include "MUI2.nsh"
|
||||
!include "nsDialogs.nsh"
|
||||
!include "LogicLib.nsh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user