triton-install/manage-server
amir-climy 5cb8ce2f63 feat(install): macOS + Windows support
install.sh / uninstall.sh (Linux + macOS):
- Detect OS with uname -s; root check is Linux-only (Docker/Podman Desktop
  on macOS runs rootless, no sudo needed).
- Arch detection adds arm64 case for Apple Silicon (uname -m returns "arm64"
  on macOS, "aarch64" on Linux).
- sed_inplace() wrapper handles BSD sed on macOS (requires empty -i suffix).
- Fix --image flag to append TRITON_MANAGE_IMAGE rather than sed-replace a
  line that is commented out in env.template.
- uninstall: re-apply --purge-data fixes (rm installer dir, drop interactive
  prompt, use $RUNTIME for raw cleanup instead of hardcoded podman).

install.ps1 / uninstall.ps1 (Windows):
- Equivalent logic for Docker Desktop / Podman Desktop on Windows.
- Arch via RuntimeInformation.OSArchitecture (X64 → amd64, Arm64 → arm64).
- Secrets via RandomNumberGenerator (no openssl dependency).
- Parameters: -GatewayHostname, -ManageHostIP, -Image, -NoTls / -PurgeData.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 15:07:13 +08:00
..
compose.yaml chore: sync installers from triton v1.0.0-rc.1 2026-05-20 15:01:09 +00:00
env.template chore: sync installers from triton v1.0.0-rc.2 2026-05-21 06:58:26 +00:00
install.ps1 feat(install): macOS + Windows support 2026-05-21 15:07:13 +08:00
install.sh feat(install): macOS + Windows support 2026-05-21 15:07:13 +08:00
uninstall.ps1 feat(install): macOS + Windows support 2026-05-21 15:07:13 +08:00
uninstall.sh feat(install): macOS + Windows support 2026-05-21 15:07:13 +08:00
upgrade.sh chore: sync installers from triton v1.0.0-rc.1 2026-05-20 15:01:09 +00:00