From 3b01f8475836c2714d4cf188cf6e818bf6e394c5 Mon Sep 17 00:00:00 2001 From: Fiery Imp Date: Mon, 21 Apr 2025 10:11:35 -0400 Subject: [PATCH] No more big hak/tlk download --- Pages/page_download_files.nsi | 8 ++++---- Sections/section_extract_files.nsi | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Pages/page_download_files.nsi b/Pages/page_download_files.nsi index f860db5..058e016 100644 --- a/Pages/page_download_files.nsi +++ b/Pages/page_download_files.nsi @@ -4,10 +4,10 @@ Function Page_DownloadContent - 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" "$INSTPATH\sinfarFiles.7z" + ; Pop $0 + ; StrCmp $0 "OK" +2 + ; Goto download_failed StrCmp $INSTALL_TYPE "diamond" diamond_download ee_download diff --git a/Sections/section_extract_files.nsi b/Sections/section_extract_files.nsi index 9a97a26..1e79944 100644 --- a/Sections/section_extract_files.nsi +++ b/Sections/section_extract_files.nsi @@ -4,7 +4,7 @@ Section "Installing" ;No components page, name is not important SetOutPath $INSTPATH DetailPrint "Extracting package..." - Nsis7z::ExtractWithDetails "$INSTPATH\sinfarFiles.7z" "Installing package %s..." + Nsis7z::ExtractWithDetails "$EXEDIR\sinfarFiles.7z" "Installing package %s..." DetailPrint "Extraction complete."