Some minor tweaks

This commit is contained in:
Gregory Schier
2023-02-21 17:56:48 -08:00
parent 45b7bc2c84
commit 30b1b87fea
6 changed files with 13 additions and 10 deletions

View File

@@ -7,16 +7,14 @@
#[macro_use]
extern crate objc;
use tauri::{CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, WindowEvent};
use window_ext::WindowExt;
mod commands;
mod runtime;
mod window_ext;
use tauri::{
CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, SystemTrayMenuItem,
WindowEvent,
};
use window_ext::WindowExt;
fn main() {
// here `"quit".to_string()` defines the menu item id, and the second parameter is the menu item label.
let quit = CustomMenuItem::new("quit".to_string(), "Quit");