Feature Request: Default window/tray icon from toml #3596
Labels
cli
Related to the dioxus-cli program
consistency
improve cohesiveness of features
desktop
Suggestions related to the desktop renderer
Feature Request
Currently, when bundling an app with an icon option in the Dioxus.toml bundle, the provided icon will not be set for the window or trayicon (at least not on windows 11) - this is because if no icon is explicitly set, the default dioxus icon will be set instead. Preferably setting the icon in the toml file would also set it for the window and trayicon and only if none is set it would use the default.
Referenced code where default icon is loaded:
dioxus/packages/desktop/src/webview.rs
Lines 195 to 204 in eaf9f80
dioxus/packages/desktop/src/trayicon.rs
Lines 37 to 45 in eaf9f80
The text was updated successfully, but these errors were encountered: