mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
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:
parent
ff293344f7
commit
b4ccb80dcd
1 changed files with 25 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue