Tweak menubar export
This commit is contained in:
3 files changed
+62
-60
No files matched your search
@@ -15,6 +15,7 @@ mod events;
|
||||
mod file_upload;
|
||||
mod hooks;
|
||||
mod ipc;
|
||||
mod menubar;
|
||||
mod protocol;
|
||||
mod query;
|
||||
mod shortcut;
|
||||
@@ -28,10 +29,6 @@ mod collect_assets;
|
||||
#[cfg(any(target_os = "ios", target_os = "android"))]
|
||||
mod mobile_shortcut;
|
||||
|
||||
// menu bar is only supported on desktop platforms
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
mod menubar;
|
||||
|
||||
// The main entrypoint for this crate
|
||||
pub use launch::*;
|
||||
mod launch;
|
||||
@@ -50,6 +47,5 @@ pub use desktop_context::{
|
||||
window, DesktopContext, DesktopService, WryEventHandler, WryEventHandlerId,
|
||||
};
|
||||
pub use hooks::{use_asset_handler, use_global_shortcut, use_window, use_wry_event_handler};
|
||||
pub use menubar::build_default_menu_bar;
|
||||
pub use shortcut::{ShortcutHandle, ShortcutId, ShortcutRegistryError};
|
||||
pub use wry::RequestAsyncResponder;
|
||||
Reference in new issue
Block a user