wu_xinjun
2022-03-24 e175b351286c34defd8c2bbe1ddd09d64d2ac862
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
 
@REM change to the filepath
cd %~dp0
@REM echo change to path: %cd%
if exist ../../aerial_deploy (
    echo the folder aerial_deploy is exited, removing it ...
    rmdir /S /Q "../../aerial_deploy"
    echo remove done!
) 
 
cd .. 
git lfs install
git lfs pull
 
cd %~dp0
mkdir "../../aerial_deploy"
 
echo setting the env ...
tar -xzf "./aerial.tar.gz" -C "../../aerial_deploy"
 
cd .. 
mklink /j ".env" "../aerial_deploy/"
 
echo ALL DONE!