mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 04:31:05 +08:00
- consolidate multiple regex patterns into single comprehensive pattern for version extraction - add type hints for version variables to improve code clarity - implement safe_rename_directory function with comprehensive error handling and validation - create write_version_file function with proper directory creation and error handling - replace direct file operations with safer function calls - add permission and system error handling for directory operations - implement existence checks before directory operations - add operation success validation after renaming - improve error messages with clear success/failure indicators