Fixed Windows build
This commit is contained in:
11
README.md
11
README.md
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user