fix: macos use hotkey closing window can not entry auto-lightweight-mode #3326

This commit is contained in:
Tunglies
2025-04-12 03:27:21 +08:00
parent 51ef1329be
commit 1970155c51
4 changed files with 18 additions and 4 deletions

View File

@@ -151,8 +151,6 @@ pub fn create_window(is_showup: bool) {
return;
}
logging!(info, Type::Window, true, "Creating new application window");
#[cfg(target_os = "windows")]
let window = tauri::WebviewWindowBuilder::new(
&app_handle,