#remove app name from tray in OS X?

1 messages · Page 1 of 1 (latest)

fresh ruin
#

Regular tray app won’t erase existing toolbar contents bar this is just cosmetic but kinda dealbreaker didn’t even noticed it before

kindred adder
#

After initializing your app with app.setup(...).build(...).expect(...), add this to your Rust code.

// #[cfg(target_os = "macos")]
 app.set_activation_policy(ActivationPolicy::Accessory);

The activation policy tells macOS to treat this as a tray/spotlight app.

fresh ruin
#

Cool thank you much appreciated 🙏

kindred adder
#

No worries, happy building!

fresh ruin
#

figured it out thanks a lot!

#

it seems that intellij has many menu options.