# Change 006: Self-Hosted Auto-Update

## Summary
Point the client's update check at our own server so we can push updates remotely.

## Files Modified
- `libs/hbb_common/src/config.rs` — SOFTWARE_UPDATE_URL

## Server Side
Static directory under existing netexperts.com.au web server:
- Path: e.g. `https://netexperts.com.au/software/updates/` or `/support/updates/`
- Hosts version manifest JSON + installer downloads
- No new server/jail needed — just a folder

When releasing a new version:
1. Build the new installer on the Windows build host
2. SCP to the updates folder on netexperts.com.au
3. Update the version manifest JSON

## Client Side
- `SOFTWARE_UPDATE_URL` → `"https://netexperts.com.au/software/updates/"` (or whichever path)
- Staff build: prompts user to update
- Client build: could auto-update silently (investigate feasibility)

## Risk Assessment
- **Breaking risk**: Low — URL change only
- **Regression areas**: Update check, download, install-over-existing

## Test Cases
1. Client checks update URL on startup
2. When newer version available, staff build shows update prompt
3. Update downloads and installs correctly over existing installation
4. Service restarts cleanly after update
5. No update prompt when already on latest version
