Skip to content

Commit a9394ec

Browse files
committed
add unity log
1 parent 27f7685 commit a9394ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build_demo_apk_2018.cmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rem ============================================================================
1616
cd %ProjectPath%
1717
git checkout version1
1818
del %ProjectPath%\Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_Version1.zip
19-
%BuildCmd% -executeMethod AndroidBuilder.BuildPatch
19+
%BuildCmd% -executeMethod AndroidBuilder.BuildPatch -logFile build_version1.log
2020
if not exist "%ProjectPath%\Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_Version1.zip" (
2121
echo "Build Version1 Failed!"
2222
pause
@@ -31,7 +31,7 @@ rem ============================================================================
3131
cd %ProjectPath%
3232
git checkout version2
3333
del %ProjectPath%\Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_Version2.zip
34-
%BuildCmd% -executeMethod AndroidBuilder.BuildPatch
34+
%BuildCmd% -executeMethod AndroidBuilder.BuildPatch -logFile build_version2.log
3535
if not exist "%ProjectPath%\Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_Version2.zip" (
3636
echo "Build Version2 Failed!"
3737
pause
@@ -45,7 +45,7 @@ rem ============================================================================
4545

4646
cd %ProjectPath%
4747
git checkout master
48-
%BuildCmd% -executeMethod AndroidBuilder.BuildWithoutPatch
48+
%BuildCmd% -executeMethod AndroidBuilder.BuildWithoutPatch -logFile build_version0.log
4949
if not exist "%ProjectPath%\AndroidGradleProject\Test\src\main\bin\com.test.test.apk" (
5050
echo "Build Failed! Please Rerun %ProjectPath%\AndroidGradleProject\Test\src\main\build_apk.bat to check the error."
5151
exit -1

0 commit comments

Comments
 (0)