Browse Source

bat脚本测试

beiguoxia 3 years ago
parent
commit
3adc0c8687
1 changed files with 1 additions and 0 deletions
  1. 1 0
      GameClient/Assets/Editor/ToolsMenu.cs

+ 1 - 0
GameClient/Assets/Editor/ToolsMenu.cs

@@ -62,6 +62,7 @@ namespace GFGEditor
         [MenuItem("策划/其它/更新项目", false, (int)TOOL_MENU_PRIORITY.UpdateProject)]
         static void UpdateProject()
         {
+            SQLiteHelper.Instance.CloseConnection();
             EditorUtility.DisplayProgressBar("进度", "正在更新项目", 1);
             ProcessUtil.ExcuteBat("Assets/Editor/Bat/", "updateGame.bat");
             EditorUtility.ClearProgressBar();