mirror of
https://github.com/bsgonzalezq/ps4-pkg-title-renamer.git
synced 2026-10-06 08:00:07 +02:00
- --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>
5 lines
195 B
Plaintext
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
|