mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
feat: add menu item
This commit is contained in:
@@ -17,12 +17,13 @@ fn main() {
|
||||
let chat_conf2 = chat_conf.clone();
|
||||
|
||||
tauri::Builder::default()
|
||||
.manage(conf::ChatState::default(&chat_conf))
|
||||
.manage(conf::ChatState::default(chat_conf.clone()))
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
cmd::drag_window,
|
||||
cmd::fullscreen,
|
||||
cmd::download,
|
||||
cmd::open_link
|
||||
cmd::open_link,
|
||||
cmd::get_chat_conf,
|
||||
])
|
||||
.setup(|app| setup::init(app, chat_conf2))
|
||||
.plugin(tauri_plugin_positioner::init())
|
||||
|
||||
Reference in New Issue
Block a user