From f11948cdadcf96dbf8bab6c6f147707e6bb1a71b Mon Sep 17 00:00:00 2001 From: DazedAnon Date: Mon, 1 Jul 2024 18:40:58 -0500 Subject: [PATCH] Update patch --- patch-config.txt | 4 ++-- patch.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patch-config.txt b/patch-config.txt index 938420e..a3dc541 100644 --- a/patch-config.txt +++ b/patch-config.txt @@ -1,3 +1,3 @@ -username=DazedMTL -repo=Her-Examination +username=dazed-translations +repo=holy-knight-cecilia branch=main \ No newline at end of file diff --git a/patch.bat b/patch.bat index 4e38e00..0b2e8f0 100644 --- a/patch.bat +++ b/patch.bat @@ -43,7 +43,7 @@ for /f "tokens=1,2 delims==" %%a in (patch-config.txt) do ( REM Get the latest hash echo "Getting latest commit SHA hash" -!_my_shell! -Command "(Invoke-WebRequest -Uri 'https://api.github.com/repos/%username%/%repo%/branches/%branch%').Content | ConvertFrom-Json | Select-Object -ExpandProperty commit | Select-Object -ExpandProperty sha" > latest_patch_sha.txt +!_my_shell! -Command "(Invoke-WebRequest -Uri 'https://gitgud.io/%username%/projects/:id/repository/commits/:sha').Content | ConvertFrom-Json | Select-Object -ExpandProperty commit | Select-Object -ExpandProperty sha" > latest_patch_sha.txt REM Read the latest SHA from the file set /p latest_patch_sha=