Files
SWGSourceLauncher/UpdateSwgClient.bat
2023-02-07 22:08:49 -05:00

12 lines
367 B
Batchfile

@ECHO OFF
IF EXIST .\.git\ (
ECHO Looking for updates...
.\PortableGit\bin\git.exe pull
) ELSE (
ECHO New Client Detected! Initializing...
.\PortableGit\bin\git.exe init .
.\PortableGit\bin\git.exe config pull.rebase false
.\PortableGit\bin\git.exe remote add -f origin https://github.com/SWG-Source/client-assets.git
.\PortableGit\bin\git.exe checkout master
)
PAUSE