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 id: 634060
Observation: Observation:
files: files:
<home>/AppData/Local/Packages:
tags:
- save
when:
- os: windows
store: microsoft
<home>/AppData/LocalLow/No Code Studio/Observation/SaveGames: <home>/AppData/LocalLow/No Code Studio/Observation/SaveGames:
tags: tags:
- save - save

View file

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

View file

@ -315,13 +315,18 @@ export function pathIsTooBroad(path: string): boolean {
return true; 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 possible, they should be narrowed down on the wiki.
if ([ if ([
"<home>/Documents", "<home>/Documents",
"<home>/Saved Games", "<home>/Saved Games",
"<root>/config", "<root>/config",
"<winDir>/win.ini", "<winDir>/win.ini",
"<home>/AppData",
"<home>/AppData/Local",
"<home>/AppData/Local/Packages",
"<home>/AppData/LocalLow",
"<home>/AppData/Roaming",
].includes(path)) { ].includes(path)) {
return true; return true;
} }