From e4d196f39b1fae2f10ab7797cc94629b2482e729 Mon Sep 17 00:00:00 2001 From: Rylee George Date: Mon, 23 Jan 2023 00:32:14 +1100 Subject: [PATCH] Remove window state to fix hanging on macosx --- src-tauri/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 5d0474a..ec607a0 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -21,7 +21,7 @@ async fn close_splashscreen(window: tauri::Window) { // Register the command: fn main() { tauri::Builder::default() - .plugin(tauri_plugin_window_state::Builder::default().build()) + //.plugin(tauri_plugin_window_state::Builder::default().build()) .plugin(store::default().build()) .setup(|app| { let window = app.get_window("main").unwrap();