Skip to content

Commit

Permalink
fix: dependencies build fail in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiPei233 committed Oct 21, 2024
1 parent efae543 commit 738a22d
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 43 deletions.
182 changes: 141 additions & 41 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tauri-build = { version = "2", features = [] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2", features = ["tray-icon"] }
reqwest = { version = "0.12.3", features = ["json", "cookies", "stream"] }
reqwest = { version = "0.12.8", features = ["json", "cookies", "stream"] }
regex = "1"
num = "0.4.3"
tokio = { version = "1.36.0", features = ["full"] }
Expand All @@ -46,8 +46,10 @@ tauri-plugin-dialog = "2"
tauri-plugin-notification = "2"
tauri-plugin-shell = "2"
tauri-plugin-log = "2.0.0-rc"
security-framework = "=2.10.0"
tauri-plugin-os = "2"

[target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "linux")))'.dependencies]
security-framework = "=2.10.0"
openssl = { version = "0.10.66", features = ["vendored"] }

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down

0 comments on commit 738a22d

Please sign in to comment.