feat(scanner): complete localized artifact quality checkpoint
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export function isLikelyGenshinSourceName(sourceName: string) {
|
||||
const normalized = sourceName.trim().toLowerCase();
|
||||
if (!normalized) return false;
|
||||
return (
|
||||
normalized === "genshin"
|
||||
|| /\bgenshin\s*impact\b/.test(normalized)
|
||||
|| normalized.includes("genshinimpact")
|
||||
|| normalized.includes("yuanshen")
|
||||
|| sourceName.includes("\u539f\u795e")
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user