修复主项目路径错误
This commit is contained in:
parent
e7056dfbf1
commit
793848c988
@ -195,14 +195,26 @@ class IntegratedPipeline:
|
||||
paths = self.get_derived_paths()
|
||||
|
||||
preview_lines = []
|
||||
|
||||
# 显示项目根目录
|
||||
preview_lines.append(f"[工具项目根目录] {self.tool_root}")
|
||||
preview_lines.append("")
|
||||
|
||||
preview_lines.append("[Docs 项目相关路径]")
|
||||
preview_lines.append(f" * cfg_txt.json: {paths.get('cfg_json', '未配置')}")
|
||||
preview_lines.append(f" * Config 目录 (xlsx): {paths.get('config_dir', '未配置')}")
|
||||
preview_lines.append("")
|
||||
|
||||
preview_lines.append("[工具项目相关路径 (相对路径)]")
|
||||
preview_lines.append(f" * Thrift 编译器: {paths.get('compiler', '')}")
|
||||
preview_lines.append(f" * Thrift 文件目录: {paths.get('thrift_dir', '')}")
|
||||
preview_lines.append("[工具项目相关路径]")
|
||||
# 检查路径是否存在
|
||||
compiler_path = paths.get('compiler', '')
|
||||
compiler_exists = " [OK]" if os.path.exists(compiler_path) else " [不存在!]"
|
||||
preview_lines.append(f" * Thrift 编译器: {compiler_path}{compiler_exists}")
|
||||
|
||||
thrift_dir = paths.get('thrift_dir', '')
|
||||
thrift_exists = " [OK]" if os.path.exists(thrift_dir) else " [不存在!]"
|
||||
preview_lines.append(f" * Thrift 文件目录: {thrift_dir}{thrift_exists}")
|
||||
|
||||
preview_lines.append(f" * C# 输出目录: {paths.get('csharp_output_dir', '')}")
|
||||
preview_lines.append(f" * Bytes 输出目录: {paths.get('bytes_output_dir', '')}")
|
||||
preview_lines.append("")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user