Skip to main content

Type Alias: AutoInstallEvent

AutoInstallEvent = "manual" | "onQuit" | "onNextLaunch"

When a downloaded update is automatically installed.

  • "onQuit" — install on app quit by spawning the installer while the app exits (the historical autoInstallOnAppQuit = true behavior).
  • "onNextLaunch" — persist the downloaded update on quit and install it at the start of the next launch, after re-validating it, so the installer is never killed by an OS session end (see https://github.com/electron-userland/electron-builder/issues/7807).
  • "manual" — never auto-install; the downloaded update stays cached until an explicit quitAndInstall() (the historical autoInstallOnAppQuit = false behavior).