|
@@ -63,12 +63,14 @@ namespace GFGEditor
|
|
static void UpdateProject()
|
|
static void UpdateProject()
|
|
{
|
|
{
|
|
SQLiteHelper.Instance.CloseConnection();
|
|
SQLiteHelper.Instance.CloseConnection();
|
|
- FairyGUI.Timers.inst.CallLater((obj)=>
|
|
|
|
- {
|
|
|
|
- EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
|
|
- ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
|
- EditorUtility.ClearProgressBar();
|
|
|
|
- });
|
|
|
|
|
|
+ FairyGUI.Timers.inst.CallLater(Test);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ private static void Test(object obj)
|
|
|
|
+ {
|
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
}
|
|
}
|
|
|
|
|
|
public static void UpdateExcel()
|
|
public static void UpdateExcel()
|