refactor: global shortcut

This commit is contained in:
lencx
2022-12-31 20:07:09 +08:00
parent e1f8030009
commit ba1fe9a603
6 changed files with 53 additions and 26 deletions

View File

@@ -30,7 +30,7 @@ pub fn control_window(handle: &tauri::AppHandle) {
let app = handle.clone();
tokio::spawn(async move {
WindowBuilder::new(&app, "main", WindowUrl::App("index.html".into()))
.title("ChatGPT")
.title("Control Center")
.resizable(true)
.fullscreen(false)
.inner_size(800.0, 600.0)