diff --git a/patch.bat b/patch.bat index 8ee53e2..52aa867 100644 --- a/patch.bat +++ b/patch.bat @@ -41,37 +41,8 @@ for /f "tokens=1,2 delims==" %%a in (patch-config.txt) do ( if "%%a"=="branch" set "branch=%%b" ) -REM Get the latest hash -echo "Getting latest commit SHA hash" -!_my_shell! -Command "(Invoke-RestMethod -Uri 'https://gitgud.io/api/v4/projects/%username%%%2F%repo%/repository/branches/%branch%').commit.id" > latest_patch_sha.txt - -REM Read the latest SHA from the file -set /p latest_patch_sha= previous_patch_sha.txt endlocal pause exit /b