Better management for hakf/tlk archive

This commit is contained in:
Fiery Imp 2025-04-21 11:08:20 -04:00
parent 70208f1b38
commit 0502ff9ae2
4 changed files with 14 additions and 5 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
!include "nsDialogs.nsh"
Var InstallTypeRadio_NWNDIAMOND
Var InstallTypeRadio_NWNEE
;Var InstallTypeRadio_NWNEE
Function Page_GameSelection
nsDialogs::Create 1018

View File

@ -1,3 +1,5 @@
!define ARCH "x64"
;!include "MUI2.nsh"
!include "nsDialogs.nsh"
!include "LogicLib.nsh"

5
readme.md Normal file
View File

@ -0,0 +1,5 @@
Requires
https://github.com/DigitalMediaServer/NSIS-INetC-plugin/releases
And nsis7z