docs: update README for bootstrap.sh install; retire install.sh

This commit is contained in:
MDietermann
2026-04-14 21:20:19 +02:00
parent e0a1628ca5
commit 9d08c635ce
2 changed files with 30 additions and 12 deletions

View File

@@ -73,22 +73,35 @@ This updates Starship, Zellij, Lazygit, Yazi, and NvChad in one step.
## 🚀 Quickstart ## 🚀 Quickstart
## Installation
One-line install on Arch Linux:
```bash ```bash
git clone --depth=1 https://github.com/<your-username>/ArduinoArch.git curl -fsSL https://gitlab.hive-brain.de/MDietermann/Archduino/raw/branch/master/bootstrap.sh | bash
cd ArduinoArch
chmod +x install.sh
./install.sh
``` ```
The installer will: This fetches the latest release, verifies its checksum, installs `archduino`
to `/usr/local/bin`, installs shell completions, and launches
`archduino install`.
1. Show a banner with detected OS and package manager ### Development
2. Let you pick your **colorscheme** (applied to all tools)
3. Let you choose between **progress bar** or **verbose** output
4. Ask for your sudo password **once** (cached for the entire install)
5. Run through all 11 setup steps automatically
After it finishes, start a new shell or run `source ~/.zshrc`. Local build:
```bash
make build
./archduino --help
```
Releasing (maintainers only):
```bash
go install github.com/caarlos0/svu@latest
make release # prompts with computed next version, tags, pushes
```
After install, start a new shell or run `source ~/.zshrc`.
--- ---
@@ -96,7 +109,10 @@ After it finishes, start a new shell or run `source ~/.zshrc`.
``` ```
ArduinoArch/ ArduinoArch/
├── install.sh # Main entry point ├── bootstrap.sh # Curl-piped installer shim (fetches latest release)
├── cmd/archduino/ # Go CLI entry point
├── internal/ # Go packages (install steps, theming, detect, etc.)
├── install.sh.legacy # Deprecated legacy Bash installer (kept for reference)
└── lib/ └── lib/
├── common.sh # Colors, helpers, environment detection, progress bar ├── common.sh # Colors, helpers, environment detection, progress bar
├── themes.sh # Colorscheme selection menu ├── themes.sh # Colorscheme selection menu

View File

@@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
# DEPRECATED: This is the legacy Bash installer. The active installer is
# bootstrap.sh (curl-piped shim) + the archduino Go binary. Kept for reference.
# #
# Archduino Install — TUI Arduino Development Environment # Archduino Install — TUI Arduino Development Environment
# Works on both native Arch Linux and Arch/Ubuntu WSL2 # Works on both native Arch Linux and Arch/Ubuntu WSL2