Files
hijackthis/src/_9_upload_git.cmd
dragokas 262d963c5a 2.10.0.30
- Fixed potential error in retrieving paths of executable images on Windows 8.1- due to OS bug (thanks to HackerVlad).
 - TamperProtection will show an error code instead of the number 0 if an access is denied.
 - Fixed freezing for 15 seconds on Windows 10+ when checking BITS.
2023-05-06 00:50:51 +03:00

37 lines
823 B
Batchfile

@echo off
SetLocal EnableExtensions
echo.
echo --------------------------------
echo GitHub Uploader by Alex Dragokas
echo --------------------------------
echo.
set /p Ver=< HiJackThis-update.txt
echo New HiJackThis version is: %Ver%
echo.
echo.
set "ch="
set /p "ch=Would you like to write hot-update.txt ? (Y/N)"
if /i "%ch%" neq "n" (
start "" hot-changelog.txt
start "" _ChangeLog_en.txt
)
"C:\Program Files\Git\bin\sh.exe" --login -i -- "upload.sh"
set "ch="
set /p "ch=Do you want to upload package to Chocolatey? (Y/N)"
if /i "%ch%" neq "Y" goto :eof
cd "tools\chocolatey-packages"
call _9_upload_git.cmd
for %a in ("cpack.exe") do if "%~$PATH:a"=="" (echo Choco is not installed. Skip.& goto Skip_Choco)
cd "hijackthis/src"
call 3-push-package.bat
:Skip_Choco
pause