refactor(installer): replace bash installer logic with node-only implementation
This commit is contained in:
@@ -29,19 +29,23 @@ You can merge this snippet manually into your `openclaw.json`.
|
||||
|
||||
## Installer script (with rollback)
|
||||
|
||||
For production-like install with automatic rollback on error:
|
||||
For production-like install with automatic rollback on error (Node-only installer):
|
||||
|
||||
```bash
|
||||
node ./scripts/install-whispergate-openclaw.mjs --install
|
||||
# or wrapper
|
||||
./scripts/install-whispergate-openclaw.sh --install
|
||||
```
|
||||
|
||||
Uninstall (revert all recorded config changes):
|
||||
|
||||
```bash
|
||||
node ./scripts/install-whispergate-openclaw.mjs --uninstall
|
||||
# or wrapper
|
||||
./scripts/install-whispergate-openclaw.sh --uninstall
|
||||
# or specify a record explicitly
|
||||
# RECORD_FILE=~/.openclaw/whispergate-install-records/whispergate-YYYYmmddHHMMSS.json \
|
||||
# ./scripts/install-whispergate-openclaw.sh --uninstall
|
||||
# node ./scripts/install-whispergate-openclaw.mjs --uninstall
|
||||
```
|
||||
|
||||
Environment overrides:
|
||||
|
||||
Reference in New Issue
Block a user