[v2]When using the Tauri Icon to generate icons, it is always larger than other icons in Mac #10999
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 18 replies
-
|
Yeah, that's one of the cross-platform problems i'm not sure how to solve. On macOS the icon indeed needs transparent padding in the icon file itself. Can't remember if it also requires manual shadows or not 🤔 If you only support macOS then simply replacing icon.icns with the macos-specific icon should work. If you're also targetting iOS then this may get tricky. I can't remember what it uses but if it also uses the icon.icns then replacing that with the iOS icon, then running If you have any ideas on how to solve this, whether it's on a config level, in |
Beta Was this translation helpful? Give feedback.
-
|
You can refer to the previous discussion to lead to the solution: #11040, because the Mac icon needs to be configured separately, so we can set the icon for the Mac separately, but first make sure that your Mac icon follows the Mac icon standard: https://developer.apple.com/cn/design/human-interface-guidelines/app-icons#macOS |
Beta Was this translation helpful? Give feedback.
-
|
For people trying to do this with Icon Composer, make sure you export with this option and change the file extension to
|
Beta Was this translation helpful? Give feedback.
-
|
Still something is not clear to me: why this is not integrated into the Having worked with quite a few other app frameworks, IMHO this script that starts from a single Making it perfect is adding a step where it resizes the icon fro macOS, adds rounded corners, copies the current tauri config, creates the macos folder and that's it |
Beta Was this translation helpful? Give feedback.
-
|
I've published 10+ apps on the Mac AppStore with this semi-autonomous steps to generate macOS
|
Beta Was this translation helpful? Give feedback.




You can refer to the previous discussion to lead to the solution: #11040, because the Mac icon needs to be configured separately, so we can set the icon for the Mac separately, but first make sure that your Mac icon follows the Mac icon standard: https://developer.apple.com/cn/design/human-interface-guidelines/app-icons#macOS