Explorar o código

修复mac下调用proto2cs跟excelexporter的错误

tanghai hai 1 ano
pai
achega
3ee7107448
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Packages/cn.etetet.init/Editor/ToolEditor/ToolsEditor.cs

+ 2 - 2
Packages/cn.etetet.init/Editor/ToolEditor/ToolsEditor.cs

@@ -8,7 +8,7 @@ namespace ET
         public static void ExcelExporter()
         public static void ExcelExporter()
         {
         {
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
-            const string tools = "./Tool";
+            const string tools = "dotnet";
 #else
 #else
             const string tools = "dotnet.exe";
             const string tools = "dotnet.exe";
 #endif
 #endif
@@ -19,7 +19,7 @@ namespace ET
         public static void Proto2CS()
         public static void Proto2CS()
         {
         {
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
-            const string tools = "./Tool";
+            const string tools = "dotnet";
 #else
 #else
             const string tools = "dotnet.exe";
             const string tools = "dotnet.exe";
 #endif
 #endif