pub struct SplitArgs {Show 15 fields
pub apk: PathBuf,
pub out: PathBuf,
pub app: Option<String>,
pub version: Option<String>,
pub entry_class: Option<String>,
pub entry_native: Option<String>,
pub host_api: u32,
pub abi: Vec<String>,
pub host_template: Option<PathBuf>,
pub config: Option<PathBuf>,
pub keystore: Option<PathBuf>,
pub ks_pass: Option<String>,
pub key_alias: Option<String>,
pub cleartext: bool,
pub transparent: bool,
}Fields§
§apk: PathBufThe finished APK.
out: PathBufOutput directory (receives payload/ and andysu-host.json).
app: Option<String>Application id (default: the APK’s package).
version: Option<String>Payload version (default: the APK’s versionName).
entry_class: Option<String>JVM entry class implementing com.andysu.api.Payload.
entry_native: Option<String>Native entry, LIB:SYMBOL (e.g. libgame:andysu_payload_v1).
host_api: u32Host API level the payload needs.
abi: Vec<String>Keep only these ABIs (default: all).
host_template: Option<PathBuf>Also build the frozen host APK from this host template (andysu-host-template-
config: Option<PathBuf>Host config.json (from andysu host-config).
keystore: Option<PathBuf>Keystore for signing the host APK (the app’s own key, so it installs over the original).
ks_pass: Option<String>apksigner –ks-pass value, e.g. pass:secret or env:VAR.
key_alias: Option<String>§cleartext: boolAllow plain-HTTP remotes (local testing only; real remotes use HTTPS).
transparent: boolTransparent mode (Android 9+): keep the app’s components and code as they are; the host loads them from the payload. No entry class needed; updates apply on the next start.
Trait Implementations§
Source§impl Args for SplitArgs
impl Args for SplitArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for SplitArgs
impl FromArgMatches for SplitArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SplitArgs
impl RefUnwindSafe for SplitArgs
impl Send for SplitArgs
impl Sync for SplitArgs
impl Unpin for SplitArgs
impl UnsafeUnpin for SplitArgs
impl UnwindSafe for SplitArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more