diff --git a/README.md b/README.md index 98856dc8..b0f0bd90 100644 --- a/README.md +++ b/README.md @@ -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 ```