Per user demand after data loss incident: never trust mode flags alone. Previously only `full` mode created tar.gz backup. Now `safe` and `settings-only` also create full tar.gz of ~/.claude (resp .codex, .gemini, .qwen) BEFORE any mutation. If backup fails, refuse to proceed for that user — skip to next. Restore is always one command: tar -xzf ~/.<tool>.uninstall-backup.<TS>.tar.gz -C ~ Applies to all 4 scripts: uclaude, ucodex, ugemini, uqwen. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
6.8 KiB
Executable File
6.8 KiB
Executable File