opencode/packages/desktop/src-tauri/icons
Brendan Allan 206d81e02c
desktop: beta icon
2026-02-21 11:11:08 +08:00
..
beta desktop: beta icon 2026-02-21 11:11:08 +08:00
dev chore: rename packages/tauri -> packages/desktop 2025-12-22 20:01:25 -06:00
prod chore: rename packages/tauri -> packages/desktop 2025-12-22 20:01:25 -06:00
README.md desktop: beta icon 2026-02-21 11:11:08 +08:00

README.md

Tauri Icons

Here's the process I've been using to create icons:

  • Save source image as app-icon.png in packages/desktop
  • cd to packages/desktop
  • Run bun tauri icon -o src-tauri/icons/{environment}
  • Use Image2Icon's 'Big Sur Icon' preset to generate an icon.icns file and place it in the appropriate icons folder

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.