From 23dc2d75e0ed580e1c15d97a9481affba164ec06 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 15 Sep 2024 15:03:19 +0200 Subject: [PATCH] add Windows build readme --- Photomator/Photomator.csproj | 3 ++- README.md | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Photomator/Photomator.csproj b/Photomator/Photomator.csproj index 548dea9..ab354ff 100644 --- a/Photomator/Photomator.csproj +++ b/Photomator/Photomator.csproj @@ -19,8 +19,9 @@ + - + diff --git a/README.md b/README.md index 9c4fcca..da570eb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,23 @@ # Photomator Desktop-Anwendung zum Konvertieren und Schrumpfen von Bildern für die Verwendung im Web. + +## Build + +### Windows + +- install msys2 (mingw-w64) -> libadwaita, gtk4, libwebp +- install .NET 8.0 +- install Git for Windows +- add .NET 8.0 and mingw-w64 to PATH + +```powershell +git clone https://git.cantorgymnasium.de/gcg/photomator + +cd photomator/Photomator + +dotnet restore +dotnet publish -r win-x64 +``` + +The installer will be located under `Photomator\bin\Release\net8.0\win-x64\publish`.