feat: Add dependency management tools and enhance logging features

- Introduced `check_dependencies.py` to automate dependency checks and provide installation guidance.
- Created `install_dependencies.py` for automatic installation of missing dependencies.
- Updated `config.json` to include new logging settings for log retention and date-based log file management.
- Added `DEPENDENCY_GUIDE.md` and `DEPENDENCY_FIXES_REPORT.md` for comprehensive documentation on dependency management and fixes.
- Enhanced logging functionality in `douyin_logging.py` to support date-based log files and automatic cleanup of old logs.
This commit is contained in:
Your Name committed 2025-12-21 22:40:56 +08:00
1 parent 2cd81c05a3
commit 1a63852bde
23 files changed
+8784 -902

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@
运行前打印版本号的入口统一用 print_version_banner()。
"""
from typing import Optional
APP_NAME = "douyin_guaji"
APP_VERSION = "V3.3.1"
@@ -16,7 +17,7 @@ def get_version_string() -> str:
return f"{APP_VERSION} ({APP_BUILD_DATE})"
def print_version_banner(app_name: str | None = None) -> str:
def print_version_banner(app_name: Optional[str] = None) -> str:
name = (app_name or APP_NAME).strip() or APP_NAME
s = f"{name} 版本:{get_version_string()}"
print(s)