chore: Remove obsolete scripts and enhance path configuration
- Deleted `check_md_files.py` and `fix_cursor_md_issue.py` as they are no longer needed. - Added new functions in `path_config.py` for better path management, including actions log and run_cli paths. - Updated various modules to utilize the unified path configuration, ensuring backward compatibility and improved maintainability. - Enhanced documentation in `README.md` to reflect changes in path management and project structure.
This commit is contained in:
1 parent
a0162e3b81
commit
b9849b9f5a
9 files changed
+264
-344
No files matched your search
@@ -28,6 +28,11 @@ def get_log_file_path() -> str:
|
||||
return os.path.join(PROJECT_ROOT, "logs", "unified.log")
|
||||
|
||||
|
||||
def get_actions_log_path() -> str:
|
||||
"""返回行为日志文件 (actions.log) 的路径"""
|
||||
return os.path.join(PROJECT_ROOT, "logs", "actions.log")
|
||||
|
||||
|
||||
def get_pic_dir() -> str:
|
||||
"""返回 pic 目录的路径(OCR截图、临时截图等)"""
|
||||
return os.path.join(PROJECT_ROOT, "pic")
|
||||
|
||||
Reference in new issue
Block a user