Use a more safe way to patch BGI script

This commit is contained in:
2025-06-07 21:07:28 +08:00
parent f1e35c904c
commit 4068cc5a04
4 changed files with 45 additions and 9 deletions

View File

@@ -195,6 +195,8 @@ pub struct ExtraConfig {
pub escude_enum_scr: Option<String>,
#[cfg(feature = "bgi")]
pub bgi_import_duplicate: bool,
#[cfg(feature = "bgi")]
pub bgi_disable_append: bool,
}
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]