Restructure README: Docker as preferred installer build method

Reorder installer section with Docker first (recommended),
Windows second, Wine as fallback. Add one-liner build command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
duffyduck 2026-04-03 10:37:48 +02:00
parent a831ec6f81
commit ec51dc8fc6
1 changed files with 27 additions and 14 deletions

View File

@ -87,35 +87,48 @@ Build-Ausgabe: `src/StarfaceOutlookSync/bin/Release/net8.0-windows/win-x64/`
### Installer erstellen
Die Setup-EXE wird mit Inno Setup 6 erstellt. Das geht auf Windows nativ
oder auf Linux via Docker.
Die Setup-EXE wird mit Inno Setup 6 erstellt.
**Linux (Docker - empfohlen):**
Einfachster Weg unter Linux. Baut und packt alles in einem Schritt:
```bash
# 1. Release bauen
dotnet build src/StarfaceOutlookSync/StarfaceOutlookSync.csproj -c Release
# 2. Installer erstellen
docker run --rm -v "$PWD:/work" amake/innosetup installer/setup.iss
```
Die fertige Setup-EXE liegt danach in `dist/`.
Komplett als Einzeiler (Build + Installer):
```bash
dotnet build src/StarfaceOutlookSync/StarfaceOutlookSync.csproj -c Release && docker run --rm -v "$PWD:/work" amake/innosetup installer/setup.iss
```
**Windows:**
1. [Inno Setup 6](https://jrsoftware.org/isinfo.php) installieren
2. `installer/setup.iss` oeffnen und kompilieren
3. Setup-EXE wird in `dist/` erstellt
**Linux (Docker):**
```bash
# Release bauen
dotnet build src/StarfaceOutlookSync/StarfaceOutlookSync.csproj -c Release
# Installer mit Docker erstellen
docker run --rm -v "$PWD:/work" amake/innosetup installer/setup.iss
Oder per Kommandozeile:
```cmd
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer\setup.iss
```
**Linux (Wine):**
**Linux (Wine - Alternative falls kein Docker vorhanden):**
```bash
# Inno Setup in Wine installieren (einmalig)
apt install wine
# Einmalig: Inno Setup in Wine installieren
sudo apt install wine
wine ~/Downloads/innosetup-6.x.exe
# Kompilieren
wine "$HOME/.wine/drive_c/Program Files (x86)/Inno Setup 6/ISCC.exe" installer/setup.iss
```
Die fertige Setup-EXE liegt danach in `dist/`.
## Projektstruktur
```