Replies: 1 comment
-
Also face the same issue, did you find a solution? |
Beta Was this translation helpful? Give feedback.
0 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
settings
menu item in the menu, a window would appear after clicking thesettings
menu 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 accessapp
inon_system_tray_event
andon_window_event
. I need to show app icon in dock when the window appears.Beta Was this translation helpful? Give feedback.
All reactions