Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Bundle Icon color messed up #180

Open
jakobhellermann opened this issue Mar 19, 2024 · 1 comment
Open

macOS Bundle Icon color messed up #180

jakobhellermann opened this issue Mar 19, 2024 · 1 comment

Comments

@jakobhellermann
Copy link
Contributor

I have a Cargo.toml that includes an icon like this:

[package.metadata.bundle]
name = "Atlas"
identifier = "io.github.jakobhellermann.atlas"
icon = ["ui/assets/icon/icon_128.png"]

and this icon
icon_128

But when I run cargo bundle the image ends up looking like this:
Bildschirmfoto 2024-03-19 um 16 40 20

I honestly have no idea why this would be happening.

@jakobhellermann
Copy link
Contributor Author

Hm, if I use my non-downscaled image it works.
icon

But I generated the smaller one using convert icon.png -resize 128x128 icon_128.png, so I don't know what exactly in the imagemagick output broke it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant