We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem
Tray icon not appear
Steps To Reproduce
Steps to reproduce the behavior:
use dioxus::{ desktop::trayicon::menu::{AboutMetadata, Menu, MenuItem, PredefinedMenuItem}, prelude::*, }; fn main() { dioxus::launch(App); let tray_menu = Menu::new(); let quit_i = MenuItem::new("Quit", true, None); let _ = tray_menu.append_items(&[ &PredefinedMenuItem::about( None, Some(AboutMetadata { name: Some("foo".to_string()), copyright: Some("Copyright bar".to_string()), ..Default::default() }), ), &PredefinedMenuItem::separator(), &quit_i, ]); let tray_icon = None; let tray_icon = dioxus::desktop::trayicon::init_tray_icon(tray_menu, tray_icon); tray_icon.set_title(Some("Hello, World!")); } #[component] fn App() -> Element { rsx! { "HotDog!" } }
kill -9 $(lsof -ti:9090) dx serve --platform desktop --port 9090 --features desktop
dx bundle --platform desktop -- --features desktop
Expected behavior
Tray icon show while dev and run dmg after build
Actual behavior
Tray icon not show while dev and can't start dmg after build
Environment:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Tray icon not appear
Steps To Reproduce
Steps to reproduce the behavior:
https://github.com/catboard-finance/catboard-app/blob/383248dac35b319f4b3b746e77ccc307f9d6b7fb/src/main.rs
Expected behavior
Tray icon show while dev and run dmg after build
Actual behavior
Tray icon not show while dev and can't start dmg after build
Environment:
The text was updated successfully, but these errors were encountered: