Просмотр исходного кода

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

tanghai 1 год назад
Родитель
Сommit
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()
         {
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
-            const string tools = "./Tool";
+            const string tools = "dotnet";
 #else
             const string tools = "dotnet.exe";
 #endif
@@ -19,7 +19,7 @@ namespace ET
         public static void Proto2CS()
         {
 #if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
-            const string tools = "./Tool";
+            const string tools = "dotnet";
 #else
             const string tools = "dotnet.exe";
 #endif