docs: update README for bootstrap.sh install; retire install.sh
This commit is contained in:
40
README.md
40
README.md
@@ -73,22 +73,35 @@ This updates Starship, Zellij, Lazygit, Yazi, and NvChad in one step.
|
||||
|
||||
## 🚀 Quickstart
|
||||
|
||||
## Installation
|
||||
|
||||
One-line install on Arch Linux:
|
||||
|
||||
```bash
|
||||
git clone --depth=1 https://github.com/<your-username>/ArduinoArch.git
|
||||
cd ArduinoArch
|
||||
chmod +x install.sh
|
||||
./install.sh
|
||||
curl -fsSL https://gitlab.hive-brain.de/MDietermann/Archduino/raw/branch/master/bootstrap.sh | bash
|
||||
```
|
||||
|
||||
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
|
||||
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
|
||||
### Development
|
||||
|
||||
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/
|
||||
├── 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/
|
||||
├── common.sh # Colors, helpers, environment detection, progress bar
|
||||
├── themes.sh # Colorscheme selection menu
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/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
|
||||
# Works on both native Arch Linux and Arch/Ubuntu WSL2
|
||||
Reference in New Issue
Block a user