feat: flatpak and flutter build

This commit is contained in:
Kingtous
2022-09-08 18:21:17 +08:00
parent 1c170366e7
commit 2d93460873
9 changed files with 96 additions and 4 deletions

View File

@@ -105,6 +105,7 @@ fn main() {
// there is problem with cfg(target_os) in build.rs, so use our workaround
// let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
// if target_os == "android" || target_os == "ios" {
#[cfg(feature = "flutter")]
gen_flutter_rust_bridge();
// return;
// }