修复MacOS下部分错误

This commit is contained in:
Tlntin
2022-12-28 00:46:07 +08:00
parent f05cf423af
commit 01aa7f12fb
3 changed files with 180 additions and 95 deletions

View File

@@ -17,16 +17,20 @@ tauri-build = { version = "1.2.1", features = [] }
[dependencies]
serde_json = "1.0.89"
serde = { version = "1.0.150", features = ["derive"] }
tauri = { version = "1.2.2", features = ["system-tray"] }
tauri = { version = "1.2.3", features = ["system-tray"] }
image = "0.24.5"
home = "0.5"
tauri-utils = "1.2.1"
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/tauri-plugin-window-state", branch = "dev"}
# webbrowser = "0.8.2"
# wry = "0.23.4"
[target.'cfg(target_os = "linux")'.dependencies]
webkit2gtk = "0.18.0"
# webbrowser = "0.8.2"
# wry = "0.23.4"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"
cocoa = {git = "https://github.com/servo/core-foundation-rs/"}
[features]
# by default Tauri runs in production mode