Add single-instance tauri plugin (#261)
Co-authored-by: lukas <lukas.walter@aceart.de>
This commit is contained in:
@@ -3,7 +3,7 @@ use tauri::{
|
||||
SystemTrayMenuItem, WindowEvent, SystemTrayHandle, Window,
|
||||
};
|
||||
|
||||
const TRAY_LABEL: &'static str = "main-tray";
|
||||
pub const TRAY_LABEL: &'static str = "main-tray";
|
||||
|
||||
pub fn window_event_handler<R: tauri::Runtime>(
|
||||
app: &tauri::AppHandle<R>,
|
||||
|
||||
Reference in New Issue
Block a user