BuildBot

Web to Desktop

App data & updates

Lesson 4 of 5

Settings live as JSON in the userData directory — written atomically — and the autoUpdater keeps installed copies current without user effort.

What you'll learn

  • Locate per-user app storage with app.getPath("userData")
  • Persist settings safely: defaults merge, atomic writes, or electron-store
  • Follow the auto-update flow from feed check to quitAndInstall
Members only

A free account unlocks this lesson and every other one.

Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.

Not sure yet? Try the free lesson first: Main and renderer