#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

@ -428793,16 +428793,6 @@ Sam & Max Save the World:
- config - config
when: when:
- os: windows - os: windows
<winDocuments>/Telltale Games/*/*.save:
tags:
- save
when:
- os: windows
<winDocuments>/Telltale Games/*/prefs.prop:
tags:
- config
when:
- os: windows
gog: gog:
id: 1207659065 id: 1207659065
steam: steam:

View file

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