Files
bsgonzalezqandClaude Opus 5.5 ce38089d5f Add --keep-logs and Windows 10/11 support
- --keep-logs N sets how many results logs are kept (default 5,
  0 = keep all); negative values are rejected.
- OS check: IS_WINDOWS/OS shown at start; Python < 3.8 exits clearly.
- Windows fixes (no change in behaviour on Linux):
  * console output never crashes on ™/Ψ/Japanese titles (legacy code
    page or redirected output)
  * \\?\ long-path prefix for file operations over 260 chars
  * case-insensitive path matching for undo/migration (C:\Games ==
    c:\games) and case-only renames no longer reported as collisions
    (also fixes this on exFAT under Linux)
  * reserved device names (CON, NUL, COM1...) prefixed with "_"
- Control characters stripped from titles (tab/newline -> space) so
  titles can't corrupt the tab-separated undo log.
- install_prereqs.ps1: winget-based prerequisite installer for Windows.
- .gitattributes keeps LF line endings (CRLF for .ps1) so Windows
  clones still run on Linux.
- README: Windows usage notes and --keep-logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 11:16:20 -05:00

5 lines
195 B
Plaintext

# Keep LF everywhere so a clone made on Windows still runs on Linux (shebangs, bash);
# Python on Windows reads LF files fine. PowerShell scripts get CRLF.
* text=auto eol=lf
*.ps1 text eol=crlf