What's Changed
Auto-Backup Database to Prevent Data Loss
- Automatically backs up the database on every launch (keeps the latest 5 backups)
- If the database is corrupted or lost after a crash, it will automatically restore from the most recent backup
- Replaced fatal crash on database initialization failure with graceful recovery
Crash Fixes
- Fixed force unwrap crashes in cron expression scheduling
- Fixed force unwrap crash in task scheduler date comparison
- Fixed force unwrap crash in crontab importer
更新内容
数据库自动备份,防止崩溃后数据丢失
- 每次启动自动备份数据库(保留最近 5 个备份)
- 崩溃导致数据库损坏或丢失时,自动从最近的备份恢复
- 数据库初始化失败时不再直接崩溃,改为优雅降级恢复
崩溃修复
- 修复 Cron 表达式调度中的强制解包崩溃
- 修复任务调度器日期比较中的强制解包崩溃
- 修复 Crontab 导入中的强制解包崩溃
Full Changelog: v1.2.5...v1.2.6