diff --git a/GameUpdate.lnk b/GameUpdate.lnk deleted file mode 100644 index 12fc8dd..0000000 Binary files a/GameUpdate.lnk and /dev/null differ diff --git a/dazed/GameUpdate.bat b/dazed/GameUpdate.bat deleted file mode 100644 index ad2f8cd..0000000 --- a/dazed/GameUpdate.bat +++ /dev/null @@ -1,73 +0,0 @@ -@echo off -setlocal enabledelayedexpansion -cd dazed - -REM Check if patch-config.txt exists -if not exist patch-config.txt ( - echo "Config file (patch-config.txt) not found! Assuming no patching needed." - exit /b -) - -REM Read configuration from file -for /f "tokens=1,2 delims==" %%a in (patch-config.txt) do ( - if "%%a"=="username" set "username=%%b" - if "%%a"=="repo" set "repo=%%b" - if "%%a"=="branch" set "branch=%%b" -) - -REM Get the latest hash -echo "Getting latest commit SHA hash" -powershell -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 - -REM Read the latest SHA from the file -set /p latest_patch_sha= previous_patch_sha.txt -endlocal -exit /b \ No newline at end of file diff --git a/dazed/patch-config.txt b/patch-config.txt similarity index 100% rename from dazed/patch-config.txt rename to patch-config.txt