#24: Filter out Telltale Games unless the episode subfolder is specified

This commit is contained in:
mtkennerly 2023-03-17 05:20:32 +08:00
parent 02a93a797c
commit 8084bfa7ee
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 5 additions and 10 deletions

View file

@ -364,6 +364,11 @@ export function pathIsTooBroad(path: string): boolean {
return true;
}
// Several games/episodes are grouped together here.
if (path.startsWith("<winDocuments>/Telltale Games/*/")) {
return true;
}
// Drive letters:
if (path.match(/^[a-zA-Z]:$/)) {
return true;