From 225823775466efd4bb45b0268dc60a200e7b9e8b Mon Sep 17 00:00:00 2001 From: DSR! Date: Mon, 19 May 2025 16:56:22 -0300 Subject: [PATCH] Fix updater scripts --- bin/updater/scripts/HxD.bat | 6 +++++- bin/updater/scripts/IDR.bat | 6 +++++- bin/updater/scripts/JADX.bat | 6 +++++- bin/updater/scripts/MultiMon.bat | 6 +++++- bin/updater/scripts/Recaf.bat | 6 +++++- bin/updater/scripts/System-Informer.bat | 6 +++++- bin/updater/scripts/Threadtear.bat | 6 +++++- bin/updater/scripts/VBDEC.bat | 6 +++++- bin/updater/scripts/x64dbg.bat | 6 +++++- 9 files changed, 45 insertions(+), 9 deletions(-) diff --git a/bin/updater/scripts/HxD.bat b/bin/updater/scripts/HxD.bat index 03df131..f59a596 100644 --- a/bin/updater/scripts/HxD.bat +++ b/bin/updater/scripts/HxD.bat @@ -1,6 +1,10 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Make HxD Portable -cd "updates/HxDPortableSetup" +cd "%UNPACK_DIR%" "../../bin/innounp.exe" -e "HxDPortableSetup.exe" "*,3.exe" "license.txt" "readme.txt" move "HxD32,3.exe" "HxD32.exe" move "HxD64,3.exe" "HxD64.exe" diff --git a/bin/updater/scripts/IDR.bat b/bin/updater/scripts/IDR.bat index 0d9b6fe..80cd087 100644 --- a/bin/updater/scripts/IDR.bat +++ b/bin/updater/scripts/IDR.bat @@ -1,4 +1,8 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Fix IDR folder structure and files echo. echo Warning: @@ -7,7 +11,7 @@ echo so I decided to leave in the pack only the most common ones to use echo if you need to use all of them install them from the repo! echo. -cd "updates\master\IDR-master" +cd "%UNPACK_DIR%" del *.cpp del *.dfm diff --git a/bin/updater/scripts/JADX.bat b/bin/updater/scripts/JADX.bat index 7102275..8d30b52 100644 --- a/bin/updater/scripts/JADX.bat +++ b/bin/updater/scripts/JADX.bat @@ -1,4 +1,8 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Fix JADX main exe name -cd "updates\jadx-gui-*" +cd "%UNPACK_DIR%" move jadx-gui-*.exe jadx-gui.exe diff --git a/bin/updater/scripts/MultiMon.bat b/bin/updater/scripts/MultiMon.bat index d223934..1a8fb46 100644 --- a/bin/updater/scripts/MultiMon.bat +++ b/bin/updater/scripts/MultiMon.bat @@ -1,6 +1,10 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Make MultiMon Portable -cd "updates/MultiMonHome" +cd "%UNPACK_DIR%" "../../bin/innounp.exe" -e "MultiMonHome.exe" del "install_script.iss" del "MultiMonHome.exe" diff --git a/bin/updater/scripts/Recaf.bat b/bin/updater/scripts/Recaf.bat index fc3d6cb..ab6c2e7 100644 --- a/bin/updater/scripts/Recaf.bat +++ b/bin/updater/scripts/Recaf.bat @@ -1,4 +1,8 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Fix Recaf main exe name -cd "updates\recaf-*" +cd "%UNPACK_DIR%" move recaf-*-J8-jar-with-dependencies.jar recaf-J8-jar-with-dependencies.jar diff --git a/bin/updater/scripts/System-Informer.bat b/bin/updater/scripts/System-Informer.bat index 916ff4b..8fc2ef9 100644 --- a/bin/updater/scripts/System-Informer.bat +++ b/bin/updater/scripts/System-Informer.bat @@ -1,4 +1,8 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Delete System Informer arm64 folder -cd "updates/systeminformer*" +cd "%UNPACK_DIR%" rmdir /s /q arm64 diff --git a/bin/updater/scripts/Threadtear.bat b/bin/updater/scripts/Threadtear.bat index 37fcb2c..37f04fd 100644 --- a/bin/updater/scripts/Threadtear.bat +++ b/bin/updater/scripts/Threadtear.bat @@ -1,4 +1,8 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Fix Threadtear main exe name -cd "updates\threadtear-gui-*" +cd "%UNPACK_DIR%" move threadtear-gui-*-all.jar threadtear-gui-all.jar diff --git a/bin/updater/scripts/VBDEC.bat b/bin/updater/scripts/VBDEC.bat index ee24926..ebecc34 100644 --- a/bin/updater/scripts/VBDEC.bat +++ b/bin/updater/scripts/VBDEC.bat @@ -1,6 +1,10 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Update VBDEC -cd "updates/VBDEC_Setup" +cd "%UNPACK_DIR%" :: unpack echo. diff --git a/bin/updater/scripts/x64dbg.bat b/bin/updater/scripts/x64dbg.bat index 2bac914..e64bfc9 100644 --- a/bin/updater/scripts/x64dbg.bat +++ b/bin/updater/scripts/x64dbg.bat @@ -1,6 +1,10 @@ @ECHO OFF +SET "TOOL_NAME=%~1" +SET "UNPACK_DIR=%~2" +SET "DOWNLOAD_VER=%~3" + echo Fix x64dbg folder structure -cd "updates\download" +cd "%UNPACK_DIR%" SET src_folder=release SET tar_folder=.