-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgk-cli.bat
More file actions
24 lines (24 loc) · 723 Bytes
/
Copy pathgk-cli.bat
File metadata and controls
24 lines (24 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
rem Opens a prompt with gkupdate available.
rem
rem Named gk-cli.bat, not gkupdate.bat: cmd searches the current directory before
rem PATH and a .BAT beats a .EXE, so a launcher by that name would re-run itself.
if not exist "%~dp0dist\gkupdate\gkupdate.exe" goto :nobuild
set "PATH=%~dp0dist\gkupdate;%PATH%"
cd /d "%USERPROFILE%\Downloads"
echo.
echo gkupdate is ready. Try:
echo gkupdate convert "C:\path\to\OldMod.pak" --out converted
echo gkupdate tools --fetch all
echo gkupdate --help
echo.
cmd /k
goto :eof
:nobuild
echo.
echo No built executable found. Either build it:
echo python build.py
echo or run from source:
echo python "%~dp0gkupdate.py" --help
echo.
cmd /k