|
|
3 周之前 | |
|---|---|---|
| .. | ||
| beta | d36b38e4a6 fix(desktop-electron): match dev dock icon inset on macOS (#19429) | 3 周之前 |
| dev | d36b38e4a6 fix(desktop-electron): match dev dock icon inset on macOS (#19429) | 3 周之前 |
| prod | d36b38e4a6 fix(desktop-electron): match dev dock icon inset on macOS (#19429) | 3 周之前 |
| README.md | d36b38e4a6 fix(desktop-electron): match dev dock icon inset on macOS (#19429) | 3 周之前 |
Here's the process I've been using to create icons:
app-icon.png in packages/desktopcd to packages/desktopbun tauri icon -o src-tauri/icons/{environment}icon.icns file and place it in the appropriate icons folderThe Image2Icon step is necessary as the icon.icns generated by app-icon.png does not apply the shadow/padding expected by macOS,
so app icons appear larger than expected.
For unpackaged Electron on macOS, app.dock.setIcon() should use a PNG. Keep dock.png in each channel folder synced with the
extracted [email protected] from that channel's icon.icns so the dev Dock icon matches the packaged app inset.