mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 05:59:50 +00:00
tauri: dev icons + separate prod config (#5691)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
65d7fc3ccd
commit
ebe25c3e9a
108 changed files with 51 additions and 11 deletions
11
packages/tauri/src-tauri/icons/README.md
Normal file
11
packages/tauri/src-tauri/icons/README.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Tauri Icons
|
||||
|
||||
Here's the process I've been using to create icons:
|
||||
|
||||
- Save source image as `app-icon.png` in `packages/tauri`
|
||||
- `cd` to `src-tauri`
|
||||
- Run `bun tauri icons -o icons/{environment}`
|
||||
- Use [Image2Icon](https://img2icnsapp.com/)'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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue