Function enable_tray
Source pub fn enable_tray(_app: &App) -> Result<(), String>
Expand description
Enables and configures the system tray for the application.
This function creates the system tray icon, menu, and event handlers.
It is called during application startup.
§Arguments
app - The Tauri application instance
§Returns
Ok(()) if tray initialization succeeded, or Err(String) if it failed.