You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to set the app icon on my desktop app (Mac OS). I didn't find something related to that in the docs or the existing issues so far, but stumbled upon the setting in the Dioxus.tml that can be set:
[bundle]
icon = ["icon.icns"]
I tried it with a .png or the .icns file (created properly from that png) and various ways of setting the path. What happens is either a "file not found" bug or
Failed to bundle project: IoError(
Os {
code: 63,
kind: InvalidFilename,
message: "File name too long",
},
)
Steps To Reproduce
Steps to reproduce the behavior:
new dioxus app (desktop) from created with dx new
put a icon image somewhere in the folder (iE crate root)
add the TOML setting as above
try dx bundle --release
Expected behavior
A clear and concise description of what you expected to happen.
The app should have the correct icon
Environment:
Dioxus version: v0.5 (latest from crates io)
Rust version: rustc 1.77.2 (25ef9e3d8 2024-04-09)
OS info: MacOS Sonoma 14.4
App platform: desktop
The text was updated successfully, but these errors were encountered:
Problem
I want to set the app icon on my desktop app (Mac OS). I didn't find something related to that in the docs or the existing issues so far, but stumbled upon the setting in the Dioxus.tml that can be set:
I tried it with a
.png
or the.icns
file (created properly from that png) and various ways of setting the path. What happens is either a "file not found" bug orSteps To Reproduce
Steps to reproduce the behavior:
dx new
dx bundle --release
Expected behavior
A clear and concise description of what you expected to happen.
The app should have the correct icon
Environment:
The text was updated successfully, but these errors were encountered: