Filter out <base>/<storeUserId>

This commit is contained in:
mtkennerly 2023-01-20 00:31:55 +08:00
parent 0ef5d5548b
commit 51d49679de
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
3 changed files with 5 additions and 34 deletions

View file

@ -315090,11 +315090,6 @@ Metro 2033:
id: 43110
Metro 2033 Redux:
files:
<base>/<storeUserId>:
tags:
- save
when:
- os: linux
<base>/<storeUserId>/user.cfg:
tags:
- config
@ -315319,11 +315314,6 @@ Metro Warp:
id: 383540
'Metro: Last Light':
files:
<base>/<storeUserId>:
tags:
- save
when:
- os: linux
<base>/<storeUserId>/user.cfg:
tags:
- config
@ -315373,11 +315363,6 @@ Metro Warp:
id: 43160
'Metro: Last Light Redux':
files:
<base>/<storeUserId>:
tags:
- save
when:
- os: linux
<base>/<storeUserId>/user.cfg:
tags:
- config
@ -392784,11 +392769,6 @@ Quake III Arena:
id: 2200
Quake Live:
files:
<base>/<storeUserId>:
tags:
- config
when:
- store: steam
<home>/.quakelive/quakelive/home/baseq3:
tags:
- config
@ -535404,11 +535384,6 @@ They Are Hundreds:
id: 806860
They Bleed Pixels:
files:
<base>/<storeUserId>:
tags:
- save
when:
- store: steam
<base>/config.txt:
tags:
- config
@ -599366,12 +599341,6 @@ Zeus vs Monsters:
steam:
id: 444430
'Zeus: Master of Olympus':
files:
<base>/<storeUserId>:
tags:
- save
when:
- os: windows
gog:
id: 1207659039
installDir:

View file

@ -36857,6 +36857,7 @@
* [Zeus Begins](https://www.pcgamingwiki.com/wiki/?curid=141882)
* [Zeus Quest Remastered](https://www.pcgamingwiki.com/wiki/?curid=35238)
* [Zeus vs Monsters](https://www.pcgamingwiki.com/wiki/?curid=44551)
* [Zeus: Master of Olympus](https://www.pcgamingwiki.com/wiki/?curid=5741)
* [Zezenia Online](https://www.pcgamingwiki.com/wiki/?curid=42531)
* [ZhanDou](https://www.pcgamingwiki.com/wiki/?curid=73782)
* [Zhed](https://www.pcgamingwiki.com/wiki/?curid=148838)

View file

@ -342,19 +342,20 @@ export function pathIsTooBroad(path: string): boolean {
// These paths are present whether or not the game is installed.
// If possible, they should be narrowed down on the wiki.
if ([
"<base>/<storeUserId>", // because `<storeUserId>` is handled as `*`
"<home>/Documents",
"<home>/Saved Games",
"<root>/config",
"<winDir>/win.ini",
"<home>/AppData",
"<home>/AppData/Local",
"<home>/AppData/Local/Packages",
"<home>/AppData/LocalLow",
"<home>/AppData/Roaming",
"<home>/Documents/My Games",
"<winDocuments>/My Games",
"<home>/Library/Application Support",
"<home>/Library/Preferences",
"<root>/config",
"<winDir>/win.ini",
"<winDocuments>/My Games",
].includes(path)) {
return true;
}