Skip to content

Commit c08a0e1

Browse files
committed
fix: add tauri::Manager import for Windows builds
The get_webview_window method requires the Manager trait in scope. On macOS it's pulled in transitively, but Windows needs the explicit import.
1 parent 46435fe commit c08a0e1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src-tauri/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ use mas_core::schema::SchemaInspector;
1010
use std::sync::Arc;
1111
#[cfg(target_os = "macos")]
1212
use tauri::Emitter;
13+
#[cfg(target_os = "windows")]
14+
use tauri::Manager;
1315
use tracing_subscriber::prelude::*;
1416
use tracing_subscriber::EnvFilter;
1517

0 commit comments

Comments
 (0)