cargo tauri icon update #13860
kandrelczyk
started this conversation in
General
Replies: 1 comment 12 replies
-
Since we just generate all icons right now, does it make sense to just add the ones you just mentioned to the list first? If the process is short enough, I think we don't have to use a config for that? I do think we should probably add some documentation about which icon is used where though |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Looks like
cargo tauri icon
needs a rework/update and I would like to discuss the features that should be added and approach to follow.From what I understand image generation itself (i.e. generating images in different resolution) works fine and doesn't have to be changed but some of the features we're missing are:
With all those new features I think just using command line arguments will not work (as in
cargo tauri icon --android-file=android.png --android-tinted --ios-file=ios.png...
and so on) and we should switch to a configuration file. The simplest way to do it seams to be just adding 'icon' section to tauri.conf.json and using this if present or falling back to current behavior if this section is missing. In this section we would:Any reasons not to do it this way? Any alternative ideas?
Beta Was this translation helpful? Give feedback.
All reactions