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
fix(desktop): install Windows updates without the installer UI
`installDownloadedUpdateNow()` called `quitAndInstall()` with no arguments,
so `isSilent` defaulted to false and Restart to update launched the assisted
NSIS installer UI instead of applying the downloaded update. Passing silent
and force-run spawns the setup as `--updated /S --force-run`: no window, and
the app relaunches itself.
The NSIS templates make this safe for a per-user install: the assisted
installer honours `/S`, reads the chosen directory back from the HKCU
InstallLocation, and only elevates when a per-machine installation exists.
`allowElevation: false` stops a normally launched installer from offering
that per-machine path — it is soft hardening, not a guarantee, since an
installer started as Administrator still offers both modes.
A silent installer reports nothing back, so the startup receipt now also
proves failure: a pending install version that does not match the running
version opens the app in an error state naming both versions.
0 commit comments