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 new path configuration, ensuring consistency and maintainability across the project.
This commit is contained in:
Your Name committed 2025-12-28 20:55:34 +08:00
1 parent b9849b9f5a
commit bdf9312bc9
58 files changed
+2472 -854

No files matched your search

+5
View File
@@ -6,3 +6,8 @@
+2 -2
View File
@@ -47,8 +47,8 @@ def create_actions_log_viewer(
path = path_config.get_actions_log_path()
except Exception:
# 回退到旧路径(向后兼容)
path = os.path.join(os.path.dirname(__file__), "..", "logs", "actions.log")
path = os.path.abspath(path)
import path_config
path = path_config.get_actions_log_path()
try:
if os.path.exists(path):
+5
View File
@@ -46,3 +46,8 @@ def save_ui_to_config(
+5
View File
@@ -56,3 +56,8 @@ def create_device_selector(
+5
View File
@@ -42,3 +42,8 @@ def create_image_viewer(
+5
View File
@@ -38,3 +38,8 @@ def create_main_window(
+5
View File
@@ -39,3 +39,8 @@ def create_ocr_panel(