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:
@@ -87,35 +87,48 @@ Build-Ausgabe: `src/StarfaceOutlookSync/bin/Release/net8.0-windows/win-x64/`
|
|||||||
|
|
||||||
### Installer erstellen
|
### Installer erstellen
|
||||||
|
|
||||||
Die Setup-EXE wird mit Inno Setup 6 erstellt. Das geht auf Windows nativ
|
Die Setup-EXE wird mit Inno Setup 6 erstellt.
|
||||||
oder auf Linux via Docker.
|
|
||||||
|
**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:**
|
**Windows:**
|
||||||
|
|
||||||
1. [Inno Setup 6](https://jrsoftware.org/isinfo.php) installieren
|
1. [Inno Setup 6](https://jrsoftware.org/isinfo.php) installieren
|
||||||
2. `installer/setup.iss` oeffnen und kompilieren
|
2. `installer/setup.iss` oeffnen und kompilieren
|
||||||
3. Setup-EXE wird in `dist/` erstellt
|
3. Setup-EXE wird in `dist/` erstellt
|
||||||
|
|
||||||
**Linux (Docker):**
|
Oder per Kommandozeile:
|
||||||
```bash
|
```cmd
|
||||||
# Release bauen
|
"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer\setup.iss
|
||||||
dotnet build src/StarfaceOutlookSync/StarfaceOutlookSync.csproj -c Release
|
|
||||||
|
|
||||||
# Installer mit Docker erstellen
|
|
||||||
docker run --rm -v "$PWD:/work" amake/innosetup installer/setup.iss
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Linux (Wine):**
|
**Linux (Wine - Alternative falls kein Docker vorhanden):**
|
||||||
```bash
|
```bash
|
||||||
# Inno Setup in Wine installieren (einmalig)
|
# Einmalig: Inno Setup in Wine installieren
|
||||||
apt install wine
|
sudo apt install wine
|
||||||
wine ~/Downloads/innosetup-6.x.exe
|
wine ~/Downloads/innosetup-6.x.exe
|
||||||
|
|
||||||
# Kompilieren
|
# Kompilieren
|
||||||
wine "$HOME/.wine/drive_c/Program Files (x86)/Inno Setup 6/ISCC.exe" installer/setup.iss
|
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
|
## Projektstruktur
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user