Browse Source

Added more 2go scripts.

Mark Sibly 8 năm trước cách đây
mục cha
commit
e7adfef599
4 tập tin đã thay đổi với 39 bổ sung0 xóa
  1. 1 0
      scripts/common.bat
  2. 6 0
      scripts/rebuildall2go.bat
  3. 16 0
      scripts/rebuildted2go.bat
  4. 16 0
      scripts/updateted2go.bat

+ 1 - 0
scripts/common.bat

@@ -5,6 +5,7 @@ set mx2cc_raspbian_new=..\src\mx2cc\mx2cc.buildv1.0.91\raspbian_release\mx2cc
 
 set ted2=..\bin\ted2_windows
 set ted2_new=..\src\ted2\ted2.buildv1.0.91\windows_release
+set ted2go_new=..\src\ted2go\ted2.buildv1.0.91\windows_release
 
 set launcher="..\Monkey2 (Windows).exe"
 set launcher_new=..\src\launcher\launcher.buildv1.0.91\windows_release\launcher.exe

+ 6 - 0
scripts/rebuildall2go.bat

@@ -0,0 +1,6 @@
+
+echo off
+
+call rebuildmods
+call rebuildted2go
+call makedocs

+ 16 - 0
scripts/rebuildted2go.bat

@@ -0,0 +1,16 @@
+
+echo off
+
+call common.bat
+
+echo.
+echo ***** Rebuilding ted2 *****
+echo.
+
+%mx2cc% makeapp -clean -apptype=gui -build -config=release -target=desktop ../src/ted2go/ted2.monkey2
+xcopy %ted2go_new%\assets %ted2%\assets /Q /I /S /Y
+xcopy %ted2go_new%\*.dll %ted2% /Q /I /S /Y
+xcopy %ted2go_new%\*.exe %ted2% /Q /I /S /Y
+
+%mx2cc% makeapp -clean -apptype=gui -build -config=release -target=desktop ../src/launcher/launcher.monkey2
+copy %launcher_new% %launcher%

+ 16 - 0
scripts/updateted2go.bat

@@ -0,0 +1,16 @@
+
+echo off
+
+call common.bat
+
+echo.
+echo ***** Updating ted2 *****
+echo.
+
+%mx2cc% makeapp -apptype=gui -build -config=release -target=desktop ../src/ted2go/ted2.monkey2
+xcopy %ted2go_new%\assets %ted2%\assets /Q /I /S /Y
+xcopy %ted2go_new%\*.dll %ted2% /Q /I /S /Y
+xcopy %ted2go_new%\*.exe %ted2% /Q /I /S /Y
+
+%mx2cc% makeapp -apptype=gui -build -config=release -target=desktop ../src/launcher/launcher.monkey2
+copy %launcher_new% %launcher%