|
@@ -62,9 +62,13 @@ namespace GFGEditor
|
|
|
[MenuItem("策划/其它/更新项目", false, (int)TOOL_MENU_PRIORITY.UpdateProject)]
|
|
|
static void UpdateProject()
|
|
|
{
|
|
|
- EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
|
- ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
- EditorUtility.ClearProgressBar();
|
|
|
+ SQLiteHelper.Instance.CloseConnection();
|
|
|
+ FairyGUI.Timers.inst.CallLater((obj)=>
|
|
|
+ {
|
|
|
+ EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
|
|
|
+ ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
|
|
|
+ EditorUtility.ClearProgressBar();
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
public static void UpdateExcel()
|