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:
parent
afb4bd933d
commit
a9c031155a
@ -21,13 +21,13 @@ It can be used to generate many things including:
|
|||||||
|
|
||||||
The `icon` command generates icons for your project.
|
The `icon` command generates icons for your project.
|
||||||
|
|
||||||
| Flag | Type | Description | Default |
|
| Flag | Type | Description | Default |
|
||||||
|--------------------|--------|------------------------------------------------------|-----------------------|
|
|--------------------|--------|------------------------------------------------------|----------------------|
|
||||||
| `-example` | bool | Generates example icon file (appicon.png) | |
|
| `-example` | bool | Generates example icon file (appicon.png) | |
|
||||||
| `-input` | string | The input image file | |
|
| `-input` | string | The input image file | |
|
||||||
| `-sizes` | string | The sizes to generate in .ico file (comma separated) | "256,128,64,48,32,16" |
|
| `-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 |
|
| `-windowsFilename` | string | The output filename for the Windows icon | icon.ico |
|
||||||
| `-macFilename` | string | The output filename for the Mac icon bundle | icons.icns |
|
| `-macFilename` | string | The output filename for the Mac icon bundle | icons.icns |
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wails3 generate icon -input myicon.png -sizes "32,64,128" -windowsFilename myicon.ico -macFilename myicon.icns
|
wails3 generate icon -input myicon.png -sizes "32,64,128" -windowsFilename myicon.ico -macFilename myicon.icns
|
||||||
|
@ -56,7 +56,7 @@ tasks:
|
|||||||
- "appicon.png"
|
- "appicon.png"
|
||||||
generates:
|
generates:
|
||||||
- "icons.icns"
|
- "icons.icns"
|
||||||
- "icons.ico"
|
- "icon.ico"
|
||||||
cmds:
|
cmds:
|
||||||
- wails3 generate icons -input appicon.png
|
- wails3 generate icons -input appicon.png
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user