clawtool-updater

command
v0.22.171 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL