docs: add Windows/MacOS config sections to main docs

As requested by maintainer, adding the platform-specific configuration
sections to the main docs instead of just the versioned v2.10 docs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lea Anthony 2026-01-25 11:36:08 +11:00
commit b4ccb80dcd

View file

@ -46,6 +46,8 @@ The 2 files generated are `tasks.json` and `launch.json`. Below are the files ge
}
```
### Windows configuration
```json title="launch.json"
{
"version": "0.2.0",
@ -64,6 +66,29 @@ The 2 files generated are `tasks.json` and `launch.json`. Below are the files ge
}
```
### MacOS configuration
```json title="launch.json"
{
"version": "0.2.0",
"configurations": [
{
"name": "Wails: Debug myproject (macOS)",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "${workspaceFolder}/build/bin/myproject",
"preLaunchTask": "build",
"cwd": "${workspaceFolder}",
"env": {
"GOOS": "darwin",
"GOARCH": "amd64"
}
}
]
}
```
### Configuring the install and build steps
The `tasks.json` file is simple for the default project as there is no `npm install` or `npm run build` step needed.