Ajout menu interactif et dépendances X11 complètes

- Copie locale des fichiers ROM/HDD depuis le repo cloné
- Menu interactif: résolution, couleurs, RAM, son, réseau, autostart
- Dépendances X11 (xorg-server, libx11, libxext) pour systèmes minimaux
- Options CLI: -y (non-interactif), --help
- Service systemd pour démarrage automatique
This commit is contained in:
Victor Bodinaud
2026-01-19 15:43:57 +01:00
parent bb5e5f0348
commit 61bf3217b6
2 changed files with 229 additions and 47 deletions

View File

@@ -15,17 +15,24 @@ Basilisk II auto-installer for Linux (Arch and Debian/Ubuntu). Compiles Basilisk
## Running the Installer
```bash
./install.sh
git clone https://git.mahtan-melwasul.com/Mahtan/Macintosh.git
cd Macintosh
./install.sh # Interactive mode
./install.sh -y # Non-interactive (defaults)
./install.sh --help # Show help
```
Requires `sudo` for package installation. Supported distributions: Arch Linux, Debian/Ubuntu.
## Configuration
## Interactive Options
Before running, update the placeholder URL in `install.sh`:
```bash
GIT_BASE_URL="https://ton-git-perso.com/basilisk" # Replace with actual URL
```
The installer prompts for:
- Screen resolution (640x480, 800x600, 1024x768, 1280x1024)
- Color depth (8/16/24 bits)
- RAM (8/16/32/64 MB)
- Autostart at boot (systemd user service)
- Sound enable/disable
- Network enable/disable
## Installation Output
@@ -36,10 +43,20 @@ Files are installed to `~/.basilisk2/`:
Launch with `~/.basilisk2/run.sh` or `basilisk2` if `~/bin` is in PATH.
## Autostart (systemd)
If enabled, creates `~/.config/systemd/user/basilisk2.service`.
```bash
systemctl --user status basilisk2 # Check status
systemctl --user start basilisk2 # Manual start
systemctl --user disable basilisk2 # Disable autostart
```
## Emulator Configuration
Default settings in generated `basilisk2_prefs`:
- RAM: 16 MB
- Model: Quadra 900 (modelid 14, cpu 4, fpu enabled)
- Display: 800x600 DGA
- Display: 800x600/8 DGA
- Network: disabled