5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 19:39:29 +08:00

fix: correct Windows filename in generate:icons task

This commit is contained in:
yulesxoxo 2025-04-16 15:22:05 +02:00
parent afb4bd933d
commit a9c031155a
2 changed files with 7 additions and 7 deletions

View File

@ -21,13 +21,13 @@ It can be used to generate many things including:
The `icon` command generates icons for your project.
| Flag | Type | Description | Default |
|--------------------|--------|------------------------------------------------------|-----------------------|
| `-example` | bool | Generates example icon file (appicon.png) | |
| `-input` | string | The input image file | |
| Flag | Type | Description | Default |
|--------------------|--------|------------------------------------------------------|----------------------|
| `-example` | bool | Generates example icon file (appicon.png) | |
| `-input` | string | The input image file | |
| `-sizes` | string | The sizes to generate in .ico file (comma separated) | "256,128,64,48,32,16" |
| `-windowsFilename` | string | The output filename for the Windows icon | icons.ico |
| `-macFilename` | string | The output filename for the Mac icon bundle | icons.icns |
| `-windowsFilename` | string | The output filename for the Windows icon | icon.ico |
| `-macFilename` | string | The output filename for the Mac icon bundle | icons.icns |
```bash
wails3 generate icon -input myicon.png -sizes "32,64,128" -windowsFilename myicon.ico -macFilename myicon.icns

View File

@ -56,7 +56,7 @@ tasks:
- "appicon.png"
generates:
- "icons.icns"
- "icons.ico"
- "icon.ico"
cmds:
- wails3 generate icons -input appicon.png