Add alias for m3t output format

fix kr scn extension
This commit is contained in:
2025-08-29 21:16:21 +08:00
parent d9a789f388
commit 86b8231395
4 changed files with 10 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ impl ScriptBuilder for ScnScriptBuilder {
}
fn extensions(&self) -> &'static [&'static str] {
&["ks.scn"]
&["scn"]
}
fn script_type(&self) -> &'static ScriptType {
@@ -92,7 +92,7 @@ impl ScriptBuilder for ScnScriptBuilder {
.map(|name| {
name.to_ascii_lowercase()
.to_string_lossy()
.ends_with(".ks.scn")
.ends_with(".scn")
})
.unwrap_or(false)
&& buf_len >= 4