feat(Cargo): update dependencies

This commit is contained in:
AkiChase 2024-05-07 15:24:34 +08:00
parent c42af552ad
commit b9f1874fcc
2 changed files with 6 additions and 6 deletions

View File

@ -11,12 +11,12 @@ edition = "2021"
tauri-build = { version = "2.0.0-beta", features = [] }
[dependencies]
tauri = { version = "2.0.0-beta.15", features = ["macos-private-api", "devtools"] }
tauri-plugin-store = "2.0.0-beta.4"
tauri = { version = "2.0.0-beta.18", features = ["macos-private-api", "devtools"] }
tauri-plugin-store = "2.0.0-beta"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1.0"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "net", "macros", "io-util", "time", "sync"] }
tauri-plugin-process = "2.0.0-beta.3"
tauri-plugin-shell = "2.0.0-beta.4"
tauri-plugin-http = "2.0.0-beta.7"
tauri-plugin-process = "2.0.0-beta"
tauri-plugin-shell = "2.0.0-beta"
tauri-plugin-http = "2.0.0-beta"

View File

@ -161,7 +161,7 @@ async fn main() {
let size_h = value["sizeH"].as_i64().unwrap_or(600);
let main_window: tauri::WebviewWindow =
app.get_webview_window("main").unwrap();
main_window.set_zoom(1.).unwrap();
main_window.set_zoom(1.).unwrap_or(());
main_window
.set_position(tauri::Position::Logical(tauri::LogicalPosition {
x: (pos_x - 70) as f64,