diff --git a/plugins/fs/src/lib.rs b/plugins/fs/src/lib.rs index aab60ce9..966f1288 100644 --- a/plugins/fs/src/lib.rs +++ b/plugins/fs/src/lib.rs @@ -83,7 +83,7 @@ pub fn init() -> TauriPlugin> { .on_event(|app, event| { if let RunEvent::WindowEvent { label: _, - event: WindowEvent::FileDrop(FileDropEvent::Dropped(paths)), + event: WindowEvent::FileDrop(FileDropEvent::Dropped { paths, .. }), .. } = event {