feat: rewrite install scripts with status dashboard + interactive menu

Both install.sh and install.ps1 now show a status panel first, then
present an interactive menu for common operations:

- View system status (CLI version, source, path, Hub state, autostart)
- Install / Upgrade / Reinstall / Uninstall HAPI CLI
- Configure / Start / Stop HAPI Hub (Docker)
- Enable / Disable autostart (systemd on Linux, Scheduled Tasks on Windows)
- Refresh status

Backward compatibility: old CLI flags (--upgrade, --force, --source,
--skip-hub) still trigger quick non-interactive mode.

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <[email protected]>
This commit is contained in:
i
2026-06-01 23:44:31 +08:00
co-authored by HAPI
parent 65c6e960a9
commit 96290bee6a
2 changed files with 1163 additions and 733 deletions
+580 -332
View File
File diff suppressed because it is too large Load Diff
+576 -394
View File
File diff suppressed because it is too large Load Diff