2022-03-05 14:25:10 +08:00
|
|
|
@echo off
|
2022-03-05 14:34:28 +08:00
|
|
|
setlocal
|
2022-03-05 14:25:10 +08:00
|
|
|
if "%1"=="" (
|
2022-03-05 14:34:28 +08:00
|
|
|
echo gitme username/reponame [TARGET]
|
2022-03-05 14:25:10 +08:00
|
|
|
exit /b
|
|
|
|
)
|
2022-03-05 14:34:28 +08:00
|
|
|
for %%A in (. %2) do set target=%%A
|
2022-03-06 15:14:04 +08:00
|
|
|
git clone https://gitme.fun/%1 %target% && pushd %target% & if exist vid-init-module.cmd call vid-init-module.cmd & popd
|