generated from eblume/project-template
Add a Restarter trait + ProcessRestarter (exit 0 so launchd KeepAlive / systemd Restart=always respawn the new binary). apply_update now installs then restarts, and the restart fires only on a successful install. Wired into the poll loop. Unit-tested with fake installer+restarter: restart on success, no restart after a failed install. Real process exit is never run in tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||