Skip to content

Commit

Permalink
enable gtk file picker for non linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl4rry committed Jun 11, 2024
1 parent cd5d829 commit 4903e2b
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 46 deletions.
164 changes: 119 additions & 45 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ wgpu = { version = "0.19.1", features = ["glsl"] }
winit = { version = "0.29.10", features = ["rwh_05"] }

[target.'cfg(not(linux))'.dependencies]
rfd = "0.14.0"
rfd = { version = "0.14.0", default-features = false, features = ["gtk3"] }

[target.'cfg(linux)'.dependencies]
rfd = { version = "0.14.0", default-features = false, features = ["xdg-portal"] }
Expand Down

0 comments on commit 4903e2b

Please sign in to comment.