@bridgething/updater
v0.12.1
Published
Command-line updater that brings a bridgething Spotify Car Thing to a release on a channel.
Downloads
517
Maintainers
Readme
@bridgething/updater
Bring a bridgething Spotify Car Thing to the latest release on its channel.
bunx @bridgething/updaterThe updater connects over the daemon's network gateway, reads the release manifest, and installs the daemon binary, plus the system image when the image half of the version changed. It refuses a yanked or deprecated release.
| flag | default | meaning |
| -------------------- | ------------------------------- | ---------------------------- |
| --root <url> | https://ota.bridgething.com | Manifest and artifact root |
| --channel <name> | the channel the device reports | Channel to track |
| --host <ws-url> | ws://bridgething.local:8892/ | Daemon network gateway |
| --cache-dir <path> | a directory under the OS tmpdir | Artifact download cache |
| --version <ver> | the channel's latest | Composite version to install |
The network gateway has no authentication. Run the updater over the USB link or
a trusted LAN. With several devices, point --host at one:
bunx @bridgething/updater --host ws://bridgething-<serial>.local:8892/The same update logic is available from Node through
@bridgething/core-node
and from a web page through
@bridgething/browser.
