mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-23 15:32:17 +08:00
feat(Cargo): update dependencies
This commit is contained in:
parent
c42af552ad
commit
b9f1874fcc
@ -11,12 +11,12 @@ edition = "2021"
|
|||||||
tauri-build = { version = "2.0.0-beta", features = [] }
|
tauri-build = { version = "2.0.0-beta", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "2.0.0-beta.15", features = ["macos-private-api", "devtools"] }
|
tauri = { version = "2.0.0-beta.18", features = ["macos-private-api", "devtools"] }
|
||||||
tauri-plugin-store = "2.0.0-beta.4"
|
tauri-plugin-store = "2.0.0-beta"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
tokio = { version = "1.36.0", features = ["rt-multi-thread", "net", "macros", "io-util", "time", "sync"] }
|
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-process = "2.0.0-beta"
|
||||||
tauri-plugin-shell = "2.0.0-beta.4"
|
tauri-plugin-shell = "2.0.0-beta"
|
||||||
tauri-plugin-http = "2.0.0-beta.7"
|
tauri-plugin-http = "2.0.0-beta"
|
||||||
|
@ -161,7 +161,7 @@ async fn main() {
|
|||||||
let size_h = value["sizeH"].as_i64().unwrap_or(600);
|
let size_h = value["sizeH"].as_i64().unwrap_or(600);
|
||||||
let main_window: tauri::WebviewWindow =
|
let main_window: tauri::WebviewWindow =
|
||||||
app.get_webview_window("main").unwrap();
|
app.get_webview_window("main").unwrap();
|
||||||
main_window.set_zoom(1.).unwrap();
|
main_window.set_zoom(1.).unwrap_or(());
|
||||||
main_window
|
main_window
|
||||||
.set_position(tauri::Position::Logical(tauri::LogicalPosition {
|
.set_position(tauri::Position::Logical(tauri::LogicalPosition {
|
||||||
x: (pos_x - 70) as f64,
|
x: (pos_x - 70) as f64,
|
||||||
|
Loading…
Reference in New Issue
Block a user