beiguoxia 3 年之前
父節點
當前提交
b0b749f898
共有 2 個文件被更改,包括 10 次插入10 次删除
  1. 10 10
      GameClient/Assets/Editor/ToolsMenu.cs
  2. 二進制
      GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes

+ 10 - 10
GameClient/Assets/Editor/ToolsMenu.cs

@@ -125,8 +125,8 @@ namespace GFGEditor
             SqliteController.Instance.dirPath = Path.Combine(Environment.CurrentDirectory, ResPathUtil.CONFIG_DIR_PATH);
             SqliteController.Instance.Init(true, null);
             SQLiteHelper.Instance.OpenConnection();
-            try
-            {
+            //try
+            //{
 
                 SQLiteHelper.Instance.ClearAllTables();
                 CodeTemplateFactory.Init();
@@ -141,15 +141,15 @@ namespace GFGEditor
                 }
 
                 ExcelReader.ReadExcel(CodeBuilder.GenerateCode);
-            }
-            catch (Exception e)
-            {
-                throw (e.InnerException);
-            }
-            finally
-            {
+            //}
+            //catch (Exception e)
+            //{
+            //    throw (e.InnerException);
+            //}
+            //finally
+            //{
                 SQLiteHelper.Instance.CloseConnection();
-            }
+            //}
             //开始扫描表格,自动生成部分数据
             ExcelScanner.StartScan();
             //拷贝slqlite文件至共享库

二進制
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes