Fixed Windows build

This commit is contained in:
2025-10-03 15:25:46 +02:00
parent f6085a713f
commit 3b366cbbae
6 changed files with 92 additions and 659 deletions

View File

@@ -11,6 +11,17 @@ go get fyne.io/fyne/v2@latest
go mod tidy
```
#### On Windows
```bash
winget install -e --id MSYS2.MSYS2
C:\msys64\usr\bin\bash -lc "pacman -Sy --noconfirm && pacman -S --noconfirm mingw-w64-x86_64-gcc mingw-w64-x86_64-pkgconf make"
$env:Path = "$env:Path;C:\msys64\mingw64\bin"
go env -w CGO_ENABLED=1
```
### Running the app
```bash
go run .