mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
重置2.0.0(beta)
重置2.0.0(beta)
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
@echo off
|
||||
|
||||
rem set default branch
|
||||
set IL2CPP_BRANCH=2020.3.33
|
||||
set IL2CPP_BRANCH=__VERSION__
|
||||
|
||||
rd /s /q hybridclr_repo
|
||||
if exist hybridclr_repo rd /s /q hybridclr_repo
|
||||
rem git clone https://github.com/focus-creative-games/hybridclr
|
||||
git clone --depth=1 https://gitee.com/focus-creative-games/hybridclr hybridclr_repo
|
||||
|
||||
rd /s /q il2cpp_plus_repo
|
||||
rem git clone https://github.com/focus-creative-games/il2cpp_huatuo
|
||||
if exist il2cpp_plus_repo rd /s /q il2cpp_plus_repo
|
||||
rem git clone https://github.com/focus-creative-games/il2cpp_hybridclr
|
||||
git clone --depth=1 -b %IL2CPP_BRANCH% https://gitee.com/focus-creative-games/il2cpp_plus il2cpp_plus_repo
|
||||
|
||||
|
||||
rem replace with right Unity Editor Install path
|
||||
set IL2CPP_PATH=C:\Program Files\Unity\Hub\Editor\2020.3.33f1\Editor\Data\il2cpp
|
||||
set IL2CPP_PATH=__PATH__
|
||||
|
||||
if not exist "%IL2CPP_PATH%" (
|
||||
echo "please set correct IL2CPP_PATH value"
|
||||
@@ -47,14 +47,14 @@ set LIBIL2CPP_PATH=%LOCAL_IL2CPP_DATA%\il2cpp\libil2cpp
|
||||
rd /s /q %LIBIL2CPP_PATH%
|
||||
|
||||
xcopy /q /i /e %IL2CPP_PLUS_REPO_DIR%\libil2cpp %LIBIL2CPP_PATH%
|
||||
xcopy /q /i /e %HYBRIDCLR_REPO_DIR%\huatuo %LIBIL2CPP_PATH%\huatuo
|
||||
xcopy /q /i /e %HYBRIDCLR_REPO_DIR%\hybridclr %LIBIL2CPP_PATH%\hybridclr
|
||||
|
||||
rem clean il2cpp build cache
|
||||
set IL2CPP_CACHE=..\Library\Il2cppBuildCache
|
||||
echo clean %IL2CPP_CACHE%
|
||||
if exist "%IL2CPP_CACHE%" rd /s /q "%IL2CPP_CACHE%"
|
||||
|
||||
echo succ
|
||||
echo success
|
||||
|
||||
:EXIT
|
||||
|
||||
|
Reference in New Issue
Block a user