mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
d32ceb9b80
Fix backfill logic in prompt enable workflow: - Prioritize backfilling live file content to currently enabled prompt (prevent data loss) - Create backup only when no enabled prompt exists and content is new (avoid duplicate backups) - Implement staged persistence (save after backfill + save after enable) - Add explicit logging for backfill/backup operations Also simplify string formatting in prompt_files.rs with inline format strings.
d32ceb9b80
ยท
2025-11-15 16:09:00 +08:00
History