fix(desktop-electron): match dev dock icon inset on macOS (#19429)

This commit is contained in:
Kit Langton
2026-03-27 13:32:05 -04:00
committed by GitHub
parent bdd7829c68
commit d36b38e4a6
5 changed files with 5 additions and 1 deletions

View File

@@ -9,3 +9,6 @@ Here's the process I've been using to create icons:
The 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 `icon_128x128@2x.png` from that channel's `icon.icns` so the dev Dock icon matches the packaged app inset.