Mark some AppData paths as too broad

This commit is contained in:
mtkennerly 2020-11-21 14:42:44 -05:00
parent fa9015f22e
commit 1ddc65f49d
3 changed files with 7 additions and 7 deletions

View file

@ -166425,12 +166425,6 @@ ObserVRtarium:
id: 634060
Observation:
files:
<home>/AppData/Local/Packages:
tags:
- save
when:
- os: windows
store: microsoft
<home>/AppData/LocalLow/No Code Studio/Observation/SaveGames:
tags:
- save

View file

@ -77466,6 +77466,7 @@ ObserVRtarium:
Observation:
pageId: 122734
revId: 1012820
tooBroad: true
'Observatory: A VR Variety Pack':
pageId: 43075
revId: 863550

View file

@ -315,13 +315,18 @@ export function pathIsTooBroad(path: string): boolean {
return true;
}
// TODO: These paths are present whether or not the game is installed.
// These paths are present whether or not the game is installed.
// If possible, they should be narrowed down on the wiki.
if ([
"<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",
].includes(path)) {
return true;
}