Explorar o código

Tool调用修复

tanghai hai 1 ano
pai
achega
30dbf8d0b8

+ 4 - 4
Unity/Packages/cn.etetet.core/Editor/ToolEditor/ToolsEditor.cs

@@ -7,9 +7,9 @@
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
             const string tools = "./Tool";
             const string tools = "./Tool";
 #else
 #else
-            const string tools = ".\\Tool.exe";
+            const string tools = "dotnet.exe";
 #endif
 #endif
-            ShellHelper.Run($"{tools} --SceneName=ExcelExporter --Console=1", "../Bin/");
+            ShellHelper.Run($"{tools} ET.ExcelExporter.dll", "../Bin/");
         }
         }
         
         
         public static void Proto2CS()
         public static void Proto2CS()
@@ -17,9 +17,9 @@
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
             const string tools = "./Tool";
             const string tools = "./Tool";
 #else
 #else
-            const string tools = ".\\Tool.exe";
+            const string tools = "dotnet.exe";
 #endif
 #endif
-            ShellHelper.Run($"{tools} --SceneName=Proto2CS --Console=1", "../Bin/");
+            ShellHelper.Run($"{tools} ET.Proto2CS.dll", "../Bin/");
         }
         }
     }
     }
 }
 }

+ 1 - 1
Unity/Packages/cn.etetet.proto/CodeMode/Model/Client/.gitignore

@@ -1 +1 @@
-./*
+*

+ 1 - 1
Unity/Packages/cn.etetet.proto/CodeMode/Model/ClientServer/.gitignore

@@ -1 +1 @@
-./*
+*

+ 1 - 1
Unity/Packages/cn.etetet.proto/CodeMode/Model/Server/.gitignore

@@ -1 +1 @@
-./*
+*