Update dependencies + Properly use default prevent default features
This commit is contained in:
2 files changed
+3
-19
No files matched your search
@@ -30,8 +30,8 @@ tauri-plugin-dialog = "2.7.0"
|
||||
tauri-plugin-notification = "2.3.3"
|
||||
sha2 = "0.11.0"
|
||||
tauri-plugin-clipboard-manager = "2.3.2"
|
||||
tauri-plugin-prevent-default = "4.0.4"
|
||||
openssl = { version = "0.10.77", features = ["v111", "vendored"] }
|
||||
tauri-plugin-prevent-default = "5.0.0"
|
||||
openssl = { version = "0.10.78", features = ["vendored"] }
|
||||
base64 = "0.22.1"
|
||||
tauri-plugin-http = "2.5.8"
|
||||
dashmap = "6.1.0"
|
||||
|
||||
+1
-17
@@ -18,7 +18,6 @@ use std::{
|
||||
use tauri::window::{ProgressBarState, ProgressBarStatus};
|
||||
use tauri::{AppHandle, Emitter, Manager};
|
||||
use tauri_plugin_os::platform;
|
||||
use tauri_plugin_prevent_default::Flags;
|
||||
use tokio::io::AsyncReadExt;
|
||||
use tokio::{io::AsyncWriteExt, time::timeout};
|
||||
use zip::ZipArchive;
|
||||
@@ -686,22 +685,7 @@ pub fn run() {
|
||||
.plugin(tauri_plugin_updater::Builder::new().build())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
.plugin(
|
||||
tauri_plugin_prevent_default::Builder::new()
|
||||
.with_flags(
|
||||
Flags::FIND
|
||||
| Flags::CARET_BROWSING
|
||||
| Flags::DEV_TOOLS
|
||||
| Flags::DOWNLOADS
|
||||
| Flags::FOCUS_MOVE
|
||||
| Flags::RELOAD
|
||||
| Flags::SOURCE
|
||||
| Flags::OPEN
|
||||
| Flags::PRINT
|
||||
| Flags::CONTEXT_MENU,
|
||||
)
|
||||
.build(),
|
||||
)
|
||||
.plugin(tauri_plugin_prevent_default::init())
|
||||
.plugin(tauri_plugin_window_state::Builder::new().build())
|
||||
.plugin(tauri_plugin_clipboard_manager::init())
|
||||
.plugin(tauri_plugin_notification::init())
|
||||
|
||||
Reference in new issue
Block a user