Преглед изворни кода

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

tanghai пре 1 година
родитељ
комит
3ee7107448
1 измењених фајлова са 2 додато и 2 уклоњено
  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