disable asset patching in cargo run for mobile

This commit is contained in:
Evan Almloff committed 2023-08-18 14:43:56 -05:00
1 parent 1c58352456
commit 1a36409922
4 files changed
+74 -8

No files matched your search

+2 -2
View File
@@ -38,9 +38,9 @@ futures-util = { workspace = true }
urlencoding = "2.1.2"
async-trait = "0.1.68"
assets-cli-support = { git = "https://github.com/DioxusLabs/collect-assets", features = ["webp", "html"] }
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
# This is only for debug mode, and it appears mobile does not support some packages this uses
assets-cli-support = { git = "https://github.com/DioxusLabs/collect-assets", features = ["webp", "html"] }
rfd = "0.11.3"
[target.'cfg(target_os = "ios")'.dependencies]