fix build macos
This commit is contained in:
@@ -16,4 +16,18 @@ to this in your browser, and you can call your Go code from devtools.
|
||||
|
||||
## Building
|
||||
|
||||
To build a redistributable, production mode package, use `wails build`.
|
||||
### Windows
|
||||
To build for Windows:
|
||||
- Run `wails build` (or `wails build -platform windows/amd64`)
|
||||
- Or use the PowerShell build script: `./build.ps1`
|
||||
|
||||
### macOS (ARM & Intel)
|
||||
To build for macOS:
|
||||
- To build Apple Silicon (ARM64) target: `wails build -platform darwin/arm64`
|
||||
- To build Intel (AMD64) target: `wails build -platform darwin/amd64`
|
||||
- To build a Universal macOS binary: `wails build -platform darwin/universal`
|
||||
- Alternatively, run the helper script to build both ARM64 and AMD64 targets:
|
||||
```bash
|
||||
chmod +x build.sh
|
||||
./build.sh
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user