Repository navigation
0.1.0-beta.4
Pre-release
Pre-release
@diamonddigitaldev/electron-kit | Beta Preview (v0.1.0-beta.4)
Important
A beta: the API can still change between 0.x versions. It's published under npm's next tag.
No ID of the install on disk, and Settings > Update finishes the job: Restart Now, the download's progress, and a dot that's easier to notice. An app on 0.1.0-beta.3 takes it without a change; busy is optional.
npm install @diamonddigitaldev/electron-kit@nextPrivacy
- No ID of the install is made, kept or sent. Left to itself, electron-updater makes a random ID on its first update check and writes it to the app's
userDatafolder (.updaterId), for staged rollouts. The kit already sent a fixed ID in its place; now it gives electron-updater that fixed ID before the first check, so no ID is made and no file is written. Every install is offered every release (no app on the kit uses staged rollouts). A.updaterIdan earlier version wrote is left where it is, and never read or sent.
New
- Restart Now. Once an update has downloaded, Settings > Update shows Restart Now where Check for Updates was. It installs the update at once and starts the new version, through a new shared channel,
update:install(kitAPI.installUpdate()), checked like every other. mountShell({ busy }). A function that returns what the app is busy with ("A conversion is running."), ornull. With a reason, Restart Now asks first, in the kit's prompt, with the focus on Cancel. Withoutbusy, it restarts at once.- The download's progress. While an update downloads, a bar in the app's accent shows under the status line, and it's gone the moment the download finishes or fails.
Changed
- The update dot breathes, slowly, wherever it shows, and stays still when the system asks for less motion. On the nav rail it's smaller (6px), and on the collapsed rail it sits in the Settings item's top-right corner.
Docs
- Updates: the ID of the install, and installing at once.
- The Shell, Settings and Credits: Restart Now,
busy, the bar and the dot. - IPC:
update:install.
The docs are in the repository: start at docs/README.md.
Found something wrong? Open an issue.