Files
WT-Offline/packages
N0VAN0M4LY 90bd5a315d fix(patcher): replace built game files atomically with retry
Write rebuilt game files to sibling temporary files, flush to disk, and replace targets via rename with bounded retries on transient EPERM/EBUSY/EACCES errors (clearing read-only attributes when needed). This prevents antivirus scans or interrupted writes from leaving missing or truncated client files while keeping hard-linked stock files untouched.

Checked: root typecheck, launcher typecheck, and atomic replacement runtime check on read-only and new files.
2026-12-02 07:20:43 +08:00
..