Add support to insert a new language to kirikiri scn script

This commit is contained in:
2025-10-16 09:45:11 +08:00
parent a017af81a9
commit 49be9a8a58
5 changed files with 195 additions and 16 deletions

View File

@@ -525,6 +525,10 @@ pub struct Arg {
/// Workers count for packing file in Kirikiri XP3 archive in parallel.
/// This not works when segment is disabled.
pub xp3_pack_workers: usize,
#[cfg(feature = "kirikiri")]
#[arg(long, global = true)]
/// Insert new language at the specified index in Kirikiri SCN script. If index is out of bounds, this flags will be ignored.
pub kirikiri_language_insert: bool,
#[command(subcommand)]
/// Command
pub command: Command,