dodorare / crossbow

Cross-Platform build tools and toolkit for games and game engines written in Rust! 🦀
https://crossbow.dodorare.com/
Apache License 2.0
201 stars 13 forks source link

Support custom package name/id #76

Closed comcloudway closed 2 years ago

comcloudway commented 2 years ago

The naming scheme used by android apks normally involves using the domain, e.g. com.google.<package name>.

Right now crossbundle seema to force com.rust.<package name> as the package name, as can be seen here :

package: app_id.unwrap_or(format!("com.rust.{}", package_name.replace('-', "_"))),

Maybe I'm missing something but I don't really see, why the user shouldn't be able to specify the package name, like they are when using cargo-quad-apk (see here ).

I think there should be a package_name = "toplevel.domain.name" option in the Cargo.toml file

EDIT: added links