Documentation
¶
Overview ¶
Command clawtool-updater is the standalone update process for the clawtool desktop app.
A running GUI can't overwrite its own executable — Windows holds an exclusive lock on a running .exe, and a macOS .app bundle is in use — so the app hands off to this small separate process. It applies the update through the headless `clawtool` CLI's proven upgrade path (download release → swap clawtool binary → restart the daemon), then relaunches the app and exits. This is the installer / updater / app split every shipping desktop product uses (Sparkle's Autoupdate helper, Squirrel's Update.exe, Chrome's Omaha GoogleUpdate.exe).
Usage:
clawtool-updater --check # exit 10 if an update exists, 0 if current clawtool-updater --app <path> # apply update, then relaunch <path> clawtool-updater --clawtool <path> ... # override the headless CLI location
Click to show internal directories.
Click to hide internal directories.