chore: menu sync

This commit is contained in:
lencx
2022-12-23 18:52:56 +08:00
parent e4be2bc2f3
commit 2a9fba7d27
3 changed files with 21 additions and 5 deletions

View File

@@ -17,6 +17,8 @@ use tauri_plugin_log::{
fn main() {
ChatConfJson::init();
// If the file does not exist, creating the file will block menu synchronization
utils::create_chatgpt_prompts();
let chat_conf = ChatConfJson::get_chat_conf();
let context = tauri::generate_context!();
let colors = ColoredLevelConfig {