From 2b03c2ccdef040e2a6b7a87ac814db8c4edc19a4 Mon Sep 17 00:00:00 2001 From: lencx Date: Mon, 29 May 2023 12:42:56 +0800 Subject: [PATCH] fix: log --- README.md | 4 +++- src-tauri/src/app/setup.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f2ca01..6ec02cc 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@ **New repository: https://github.com/lencx/nofwl** ---- +## Live Demo + +- [ChatGPT Desktop Application v1.0.0](https://youtu.be/IIuuB5vFFAQ) ## 📦 Install diff --git a/src-tauri/src/app/setup.rs b/src-tauri/src/app/setup.rs index bc549d4..afaf7de 100644 --- a/src-tauri/src/app/setup.rs +++ b/src-tauri/src/app/setup.rs @@ -102,7 +102,9 @@ pub fn init(app: &mut App) -> Result<(), Box> { .initialization_script(&load_script("chat.js")) } - main_win.build().unwrap(); + if let Err(err) = main_win.build() { + error!("core_build_error: {}", err); + } }); }