Skip to content

Commit

Permalink
backend: make winreg dependency windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser committed Feb 10, 2024
1 parent 9358b38 commit ae8ad8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ thiserror = "1.0.56"
tokio = { version = "1", features = ["full"] }
walkdir = "2.4.0"
wgpu = "0.18.0"
winreg = "0.52.0"
zip = { version = "0.6.2" }
zip-extract = "0.1.3"

[target.'cfg(windows)'.dependencies]
winreg = "0.52.0"

[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
Expand Down

0 comments on commit ae8ad8b

Please sign in to comment.