Repository navigation
v1.0.4
Fix: nugctl upgrade could fail on Windows with a file-lock error during the self-replace step. Windows won't let you overwrite a file mapped into a running process, and antivirus real-time scanning can transiently lock the freshly-downloaded binary.
On Windows, the running exe is now moved aside first (renaming an open file is allowed even though overwriting one isn't), the new binary is installed, and the old one is restored automatically if that fails - so a failed upgrade never leaves you without a working binary. Each rename retries briefly to ride out a transient AV lock.
Verify downloads against checksums.txt (sha256).