feat: platform-specific dialog plugin (xdg-portal on Linux only)
This commit is contained in:
1 parent
a6960769e6
commit
8257e8866b
1 file changed
+12
-1
+12
-1
@@ -63,7 +63,8 @@ walkdir = "2"
|
|||||||
lofty = "0.18"
|
lofty = "0.18"
|
||||||
rusqlite = { version = "0.31", features = ["bundled"] }
|
rusqlite = { version = "0.31", features = ["bundled"] }
|
||||||
dirs = "5"
|
dirs = "5"
|
||||||
tauri-plugin-dialog = { version = "2.5.0", default-features = false, features = ["xdg-portal"] }
|
|
||||||
|
# File dialogs - platform specific (see target dependencies below)
|
||||||
|
|
||||||
# URL encoding
|
# URL encoding
|
||||||
urlencoding = "2"
|
urlencoding = "2"
|
||||||
@@ -83,3 +84,13 @@ mdns-sd = "0.11"
|
|||||||
tiny_http = "0.12"
|
tiny_http = "0.12"
|
||||||
rupnp = { version = "3", features = ["full_device_spec"] }
|
rupnp = { version = "3", features = ["full_device_spec"] }
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
|
|
||||||
|
# Platform-specific dependencies
|
||||||
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
|
tauri-plugin-dialog = { version = "2.5.0", default-features = false, features = ["xdg-portal"] }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
|
tauri-plugin-dialog = { version = "2.5.0" }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
|
tauri-plugin-dialog = { version = "2.5.0" }
|
||||||
Reference in new issue
Block a user