You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows native installs could rename a running exe but not overwrite it,
so the CLI hard-disabled auto-update on that platform and told users to
run install.ps1 by hand instead.
install.ps1 now stages the new binary inside the install dir and
replaces the running exe with a rename-aside-then-move sequence,
retrying cleanup of the old file for a few seconds since it may still
be locked by the exiting process. The CLI drops the win32 auto-install
gate and spawns the installer via PowerShell the same way it spawns
curl|bash on macOS/Linux, and sweeps any leftover renamed-aside binary
on the next startup.
Enable automatic updates for native installs on Windows: /update now installs the new version in the background instead of printing a manual command, and the installer safely replaces the running executable.
0 commit comments