Team Ai
Apppublic

kernelimplode/clewd

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
update.bat37 linesDownload Raw Back to root
1@echo off2pushd %~dp03 4if not exist .git (5  GOTO:notgit6)7 8where /q git.exe9if %ERRORLEVEL% EQU 0 (10  GOTO:pull11)12GOTO:missgit13 14 15:pull16call git config --local url."https://".insteadOf git://17call git config --local url."https://github.com/".insteadOf git@github.com:18call git config --local url."https://".insteadOf ssh://19call git pull --rebase --autostash20if %ERRORLEVEL% neq 0 (21  echo Error updating22)23GOTO:end24 25:missgit26echo Install git to update27GOTO:end28 29:notgit30echo Only able to update if you clone the repository (git clone https://github.com/teralomaniac/clewd.git)31GOTO:end32 33 34:end35pause36popd37exit /B