chore: bump tauri to 2.0.0-beta.14 (#1136)

* chore: bump tauri

* pin tauri, change file
This commit is contained in:
Lucas Fernandes Nogueira
2024-04-02 18:31:15 -03:00
committed by GitHub
parent c013fa52cd
commit 772f2bc349
5 changed files with 239 additions and 212 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ use tauri::{
ipc::ScopeObject,
plugin::{Builder as PluginBuilder, TauriPlugin},
utils::acl::Value,
AppHandle, FileDropEvent, Manager, RunEvent, Runtime, WindowEvent,
AppHandle, DragDropEvent, Manager, RunEvent, Runtime, WindowEvent,
};
mod commands;
@@ -110,7 +110,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R, Option<config::Config>> {
.on_event(|app, event| {
if let RunEvent::WindowEvent {
label: _,
event: WindowEvent::FileDrop(FileDropEvent::Dropped { paths, position: _ }),
event: WindowEvent::DragDrop(DragDropEvent::Dropped { paths, position: _ }),
..
} = event
{