Merge pull request #4219 from yulesxoxo/v3-alpha

fix: correct Windows filename in generate:icons task
This commit is contained in:
Lea Anthony 2025-04-18 15:38:24 +10:00 committed by GitHub
commit 7453df5aa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 7 deletions

View file

@ -115,6 +115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed icon generation paths by [@robin-samuel](https://github.com/robin-samuel) in [#4125](https://github.com/wailsapp/wails/pull/4125)
- Fixed Dialogs runtime function returning escaped paths on Windows by [TheGB0077](https://github.com/TheGB0077) in [#4188](https://github.com/wailsapp/wails/pull/4188)
- Fixed Webview2 detection path in HKCU by [@leaanthony](https://github.com/leaanthony).
- Fixed Windows icon generation task file name by [@yulesxoxo](https://github.com/yulesxoxo) in [#4219](https://github.com/wailsapp/wails/pull/4219).
### Changed

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