diff --git a/DungeonShooting_Godot/addons/dungeonShooting_plugin/generator/ExcelGenerator.cs b/DungeonShooting_Godot/addons/dungeonShooting_plugin/generator/ExcelGenerator.cs index 8a9c187..0fbfe4f 100644 --- a/DungeonShooting_Godot/addons/dungeonShooting_plugin/generator/ExcelGenerator.cs +++ b/DungeonShooting_Godot/addons/dungeonShooting_plugin/generator/ExcelGenerator.cs @@ -49,8 +49,13 @@ { GD.Print("开始编译导出工具"); var r = compilerTool(toolDir, rid, toolPath); + GD.Print("编译Excel工具返回值: " + r); if (r != 0) { + if (osName == "macOS") + { + GD.Print("在Mac上自动编译Excel表失败, 不过您可以使用以上命令手动编译, 在项目根目录打开一个终端, 并执行以上命令"); + } return false; } } @@ -60,8 +65,13 @@ //删除编译目录 Directory.Delete(toolPath, true); var r = compilerTool(toolDir, rid, toolPath); + GD.Print("编译Excel工具返回值: " + r); if (r != 0) { + if (osName == "macOS") + { + GD.Print("在Mac上自动编译Excel表失败, 不过您可以使用以上命令手动编译, 在项目根目录打开一个终端, 并执行以上命令"); + } return false; } }