Add ExHibit rld script support

This commit is contained in:
2025-08-04 15:12:13 +08:00
parent dc04dd1ab1
commit eef9aca227
7 changed files with 691 additions and 2 deletions

View File

@@ -1617,6 +1617,20 @@ fn main() {
zstd_compression_level: arg.zstd_compression_level,
#[cfg(feature = "circus-img")]
circus_crx_mode: arg.circus_crx_mode,
#[cfg(feature = "ex-hibit")]
ex_hibit_rld_xor_key: scripts::ex_hibit::rld::load_xor_key(&arg)
.expect("Failed to load RLD XOR key"),
#[cfg(feature = "ex-hibit")]
ex_hibit_rld_def_xor_key: scripts::ex_hibit::rld::load_def_xor_key(&arg)
.expect("Failed to load RLD DEF XOR key"),
#[cfg(feature = "ex-hibit")]
ex_hibit_rld_keys: scripts::ex_hibit::rld::load_keys(arg.ex_hibit_rld_keys.as_ref())
.expect("Failed to load RLD keys"),
#[cfg(feature = "ex-hibit")]
ex_hibit_rld_def_keys: scripts::ex_hibit::rld::load_keys(
arg.ex_hibit_rld_def_keys.as_ref(),
)
.expect("Failed to load RLD DEF keys"),
};
match &arg.command {
args::Command::Export { input, output } => {