Revert "feat: integrate window state management for improved window restoration and logging"

This reverts commit c9a9e934f4.
This commit is contained in:
Tunglies
2025-05-22 10:17:42 +08:00
parent b4595d7886
commit 866ec2720d
2 changed files with 17 additions and 15 deletions

View File

@@ -17,7 +17,6 @@ use std::{
time::{Duration, Instant},
};
use tauri::{AppHandle, Manager};
use tauri_plugin_window_state::WindowExt;
use tokio::net::TcpListener;
use tauri::Url;
@@ -374,12 +373,6 @@ pub fn create_window(is_show: bool) -> bool {
*get_ui_ready().write() = true;
}
}
logging_error!(
Type::Window,
true,
newly_created_window
.restore_state(tauri_plugin_window_state::StateFlags::all())
);
logging!(info, Type::Window, true, "窗口显示流程完成");
} else {
logging!(