Replies: 1 comment 3 replies
-
|
Also face the same issue, did you find a solution? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing a macos application. When the app starts, I hope it only show in menu bar, doesn't show in dock. And there is a
settingsmenu item in the menu, a window would appear after clicking thesettingsmenu item. When the window appears, I want the app icon to show in dock. When the window gets closed, I want the app icon to hide in dock.I've tried
app.set_activation_policy(tauri::ActivationPolicy::Accessory));to hide it when app starts, but I cannot accessappinon_system_tray_eventandon_window_event. I need to show app icon in dock when the window appears.Beta Was this translation helpful? Give feedback.
All reactions