mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
fix: adjust Cargo features to fix android build (#375)
This commit is contained in:
committed by
GitHub
parent
ba4ef9a037
commit
fdec66c69f
@@ -22,7 +22,7 @@ tauri-plugin-log = { path = "../../../plugins/log", version = "1.0.0" }
|
||||
tauri-plugin-fs = { path = "../../../plugins/fs", version = "1.0.0" }
|
||||
tauri-plugin-clipboard = { path = "../../../plugins/clipboard", version = "1.0.0" }
|
||||
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "1.0.0" }
|
||||
tauri-plugin-http = { path = "../../../plugins/http", version = "1.0.0", features = [ "multipart" ] }
|
||||
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "1.0.0" }
|
||||
tauri-plugin-notification = { path = "../../../plugins/notification", version = "1.0.0", features = [ "windows7-compat" ] }
|
||||
tauri-plugin-os = { path = "../../../plugins/os", version = "1.0.0" }
|
||||
tauri-plugin-process = { path = "../../../plugins/process", version = "1.0.0" }
|
||||
@@ -37,7 +37,7 @@ features = [
|
||||
"isolation",
|
||||
"macos-private-api",
|
||||
"system-tray",
|
||||
"protocol-asset"
|
||||
"protocol-asset",
|
||||
]
|
||||
|
||||
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ open class RustPlugin : Plugin<Project> {
|
||||
val abiList = (findProperty("abiList") as? String)?.split(',') ?: defaultAbiList
|
||||
|
||||
val defaultArchList = listOf("arm64", "arm", "x86", "x86_64");
|
||||
val archList = (findProperty("archList") as? String)?.split(',') ?: listOf("arm64", "arm", "x86", "x86_64")
|
||||
val archList = (findProperty("archList") as? String)?.split(',') ?: defaultArchList
|
||||
|
||||
val targetsList = (findProperty("targetList") as? String)?.split(',') ?: listOf("aarch64", "armv7", "i686", "x86_64")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user