Mark some Mac paths as too broad and normalize paths ending with *

This commit is contained in:
mtkennerly 2022-08-19 23:48:30 +08:00
parent 92fcbe1f1d
commit faf32b040a
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 86 additions and 100 deletions

View file

@ -5613,11 +5613,6 @@ $1 Ride:
- save - save
when: when:
- os: mac - os: mac
<home>/Library/Preferences/*:
tags:
- config
when:
- os: mac
installDir: installDir:
911 Operator: {} 911 Operator: {}
launch: launch:
@ -10802,7 +10797,7 @@ ATOM RPG Trudograd:
id: 1139940 id: 1139940
ATRI -My Dear Moments-: ATRI -My Dear Moments-:
files: files:
<root>/userdata/<storeUserId>/1230140/remote/*: <root>/userdata/<storeUserId>/1230140/remote:
tags: tags:
- save - save
when: when:
@ -13673,7 +13668,7 @@ AdVenture Communist:
id: 462930 id: 462930
Adabana Odd Tales: Adabana Odd Tales:
files: files:
<base>/save/*: <base>/save:
tags: tags:
- save - save
when: when:
@ -29458,7 +29453,7 @@ Another Dawn:
id: 1078670 id: 1078670
Another Eden: Another Eden:
files: files:
<winLocalAppData>/AnotherEden/*: <winLocalAppData>/AnotherEden:
tags: tags:
- config - config
when: when:
@ -60106,7 +60101,7 @@ BladeShield:
id: 554470 id: 554470
Bladed Fury: Bladed Fury:
files: files:
<home>/AppData/LocalLow/NEXT Studios/Bladed Fury/savedata/*: <home>/AppData/LocalLow/NEXT Studios/Bladed Fury/savedata:
tags: tags:
- save - save
when: when:
@ -73028,7 +73023,7 @@ Buddy Simulator 1984:
id: 1269950 id: 1269950
Budget Cuts: Budget Cuts:
files: files:
<home>/AppData/LocalLow/Neat Corporation/Budget Cuts/*: <home>/AppData/LocalLow/Neat Corporation/Budget Cuts:
tags: tags:
- save - save
when: when:
@ -73038,7 +73033,7 @@ Budget Cuts:
- config - config
when: when:
- os: windows - os: windows
<winDocuments>/Budget Cuts Save Data/*: <winDocuments>/Budget Cuts Save Data:
tags: tags:
- save - save
when: when:
@ -81976,10 +81971,10 @@ Castle Explorer (2017):
id: 531780 id: 531780
Castle Fantasia: Castle Fantasia:
registry: registry:
HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Main/*: HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Main:
tags: tags:
- config - config
HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Save/*: HKEY_CURRENT_USER/Software/Ego!/CastleFantasia/Save:
tags: tags:
- save - save
Castle Flipper: Castle Flipper:
@ -84043,11 +84038,6 @@ Cave Story+:
- save - save
when: when:
- os: linux - os: linux
<home>/Library/Application Support:
tags:
- config
when:
- os: mac
<home>/Library/Application Support/Profile.dat: <home>/Library/Application Support/Profile.dat:
tags: tags:
- save - save
@ -102821,7 +102811,7 @@ Cook-Out:
id: 1523720 id: 1523720
Cookie Clicker: Cookie Clicker:
files: files:
<root>/userdata/<storeUserId>/1454400/*: <root>/userdata/<storeUserId>/1454400:
tags: tags:
- save - save
when: when:
@ -116933,7 +116923,7 @@ Dandy & Randy:
id: 959130 id: 959130
Dandy Ace: Dandy Ace:
files: files:
<base>/SaveData/*: <base>/SaveData:
tags: tags:
- save - save
when: when:
@ -125939,7 +125929,7 @@ Death to Spies:
id: 9800 id: 9800
'Death to Spies: Moment of Truth': 'Death to Spies: Moment of Truth':
files: files:
<winDocuments>/My Games/Smersh_MT/Profiles/*: <winDocuments>/My Games/Smersh_MT/Profiles:
tags: tags:
- save - save
when: when:
@ -141627,7 +141617,7 @@ Doodle Farm:
id: 947390 id: 947390
Doodle God: Doodle God:
files: files:
<base>/temp/*: <base>/temp:
tags: tags:
- save - save
when: when:
@ -146332,7 +146322,7 @@ DreadEye VR:
id: 692930 id: 692930
DreadOut: DreadOut:
files: files:
<base>/cloud/<storeUserId>/*: <base>/cloud/<storeUserId>:
tags: tags:
- save - save
when: when:
@ -153627,7 +153617,7 @@ Dynasty Warriors 7 with Xtreme Legends:
- os: windows - os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 7 DX/*: HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 7 DX:
tags: tags:
- config - config
steam: steam:
@ -153656,7 +153646,7 @@ Dynasty Warriors 7 with Xtreme Legends:
- os: windows - os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 8 Empires/*: HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 8 Empires:
tags: tags:
- config - config
steam: steam:
@ -153702,7 +153692,7 @@ Dynasty Warriors 9:
os: windows os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 for Steam/*: HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 for Steam:
tags: tags:
- config - config
steam: steam:
@ -153728,7 +153718,7 @@ Dynasty Warriors 9:
os: windows os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam /*: 'HKEY_CURRENT_USER/Software/KoeiTecmo/Dynasty Warriors 9 Empires for Steam ':
tags: tags:
- config - config
steam: steam:
@ -159549,7 +159539,7 @@ Eliosi's Hunt:
id: 576400 id: 576400
Elise the Devil: Elise the Devil:
files: files:
<base>/www/save/*: <base>/www/save:
tags: tags:
- save - save
when: when:
@ -174991,7 +174981,7 @@ Fallalypse:
id: 689520 id: 689520
Fallback: Fallback:
files: files:
<base>/fallback_Data/Save/*: <base>/fallback_Data/Save:
tags: tags:
- save - save
when: when:
@ -206899,17 +206889,17 @@ Goat Life:
id: 860440 id: 860440
Goat Simulator: Goat Simulator:
files: files:
<base>/Engine/Config/*: <base>/Engine/Config:
tags: tags:
- config - config
when: when:
- os: windows - os: windows
<home>/.steam/steam/steamapps/common/GoatSimulator/GoatGame/Config/*: <home>/.steam/steam/steamapps/common/GoatSimulator/GoatGame/Config:
tags: tags:
- config - config
when: when:
- os: linux - os: linux
<home>/Library/Application Support/Steam/steamapps/common/GoatSimulator/GoatSimulator.app/Contents/Resources/GoatGame/Config/*: <home>/Library/Application Support/Steam/steamapps/common/GoatSimulator/GoatSimulator.app/Contents/Resources/GoatGame/Config:
tags: tags:
- config - config
when: when:
@ -206919,7 +206909,7 @@ Goat Simulator:
- save - save
when: when:
- store: steam - store: steam
<winDocuments>/My Games/GoatSim/GoatGame/Config/*: <winDocuments>/My Games/GoatSim/GoatGame/Config:
tags: tags:
- config - config
when: when:
@ -226577,7 +226567,7 @@ HenTris:
id: 880260 id: 880260
Henchman Story: Henchman Story:
files: files:
<base>/game/saves/*: <base>/game/saves:
tags: tags:
- save - save
when: when:
@ -226968,7 +226958,7 @@ Hentai Forest:
id: 946550 id: 946550
Hentai Girl: Hentai Girl:
files: files:
<base>/HentaiGirl_Data/Save/*: <base>/HentaiGirl_Data/Save:
tags: tags:
- save - save
when: when:
@ -227012,7 +227002,7 @@ Hentai Girl Division:
id: 1113680 id: 1113680
Hentai Girl Fantasy: Hentai Girl Fantasy:
files: files:
<base>/HentaiGirl_Data/Save/*: <base>/HentaiGirl_Data/Save:
tags: tags:
- save - save
when: when:
@ -227032,7 +227022,7 @@ Hentai Girl Fantasy:
id: 1146950 id: 1146950
Hentai Girl Karen: Hentai Girl Karen:
files: files:
<base>/HentaiGirlKaren_Data/Save/*: <base>/HentaiGirlKaren_Data/Save:
tags: tags:
- save - save
when: when:
@ -227052,7 +227042,7 @@ Hentai Girl Karen:
id: 1004240 id: 1004240
Hentai Girl Linda: Hentai Girl Linda:
files: files:
<base>/HentaiGirlLinda_Data/Save/*: <base>/HentaiGirlLinda_Data/Save:
tags: tags:
- save - save
when: when:
@ -275664,7 +275654,7 @@ Legend of Hand:
id: 595560 id: 595560
Legend of Himari: Legend of Himari:
files: files:
<winLocalAppData>/Legend_of_Himari/*: <winLocalAppData>/Legend_of_Himari:
tags: tags:
- save - save
when: when:
@ -286874,7 +286864,7 @@ Love Engine:
id: 574170 id: 574170
Love Esquire: Love Esquire:
files: files:
<home>/AppData/LocalLow/Yangyang Mobile/Love Esquire/State/*: <home>/AppData/LocalLow/Yangyang Mobile/Love Esquire/State:
tags: tags:
- save - save
when: when:
@ -287153,7 +287143,7 @@ Love Thyself - A Horatio Story:
id: 884320 id: 884320
Love Wish: Love Wish:
files: files:
<home>/AppData/LocalLow/wangyibo/lovewishs/data/*: <home>/AppData/LocalLow/wangyibo/lovewishs/data:
tags: tags:
- save - save
when: when:
@ -299371,7 +299361,7 @@ Master Cube:
id: 1081350 id: 1081350
Master Magistrate: Master Magistrate:
files: files:
<base>/savedata/*: <base>/savedata:
tags: tags:
- save - save
when: when:
@ -299980,7 +299970,7 @@ MatchyGotchy Z:
id: 888220 id: 888220
Material Girl: Material Girl:
files: files:
<base>/www/save/*: <base>/www/save:
tags: tags:
- save - save
when: when:
@ -306102,7 +306092,7 @@ Metro Exodus:
- save - save
when: when:
- store: gog - store: gog
<home>/Library/Application Support/MetroExodus/*: <home>/Library/Application Support/MetroExodus:
tags: tags:
- save - save
when: when:
@ -306488,15 +306478,11 @@ Mevo and The Grooveriders:
MewnBase: MewnBase:
files: files:
<base>/saves: <base>/saves:
tags:
- save
when:
- os: linux
<base>/saves/*:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
- os: linux
<base>/settings.json: <base>/settings.json:
tags: tags:
- config - config
@ -320839,7 +320825,7 @@ Mutant Ops:
- config - config
when: when:
- os: windows - os: windows
<winLocalAppData>/VGDFinal/Saved/SaveGames/*: <winLocalAppData>/VGDFinal/Saved/SaveGames:
tags: tags:
- save - save
when: when:
@ -324409,7 +324395,7 @@ NAL is Alive:
id: 485430 id: 485430
NALOGI: NALOGI:
files: files:
<base>/www/save/*: <base>/www/save:
tags: tags:
- save - save
when: when:
@ -326877,27 +326863,27 @@ Narcissu:
id: 264380 id: 264380
Narcissu 10th Anniversary Anthology Project: Narcissu 10th Anniversary Anthology Project:
files: files:
<base>/narci_himeko/savedata/*: <base>/narci_himeko/savedata:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<base>/narci_iris/savedata/*: <base>/narci_iris/savedata:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<base>/narci_onetwo/savedata/*: <base>/narci_onetwo/savedata:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<base>/narci_sumire/savedata/*: <base>/narci_sumire/savedata:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<base>/narci_zero/savedata/*: <base>/narci_zero/savedata:
tags: tags:
- save - save
when: when:
@ -328065,7 +328051,7 @@ Nebulous:
id: 370140 id: 370140
Necesse: Necesse:
files: files:
<winAppData>/Necesse/saves/*: <winAppData>/Necesse/saves:
tags: tags:
- save - save
when: when:
@ -328599,7 +328585,7 @@ Need for Speed Rivals:
when: when:
- os: windows - os: windows
registry: registry:
HKEY_LOCAL_MACHINE/Software/WOW6432Node/Electronic Arts/Need for Speed Carbon/*: HKEY_LOCAL_MACHINE/Software/WOW6432Node/Electronic Arts/Need for Speed Carbon:
tags: tags:
- config - config
'Need for Speed: High Stakes': 'Need for Speed: High Stakes':
@ -328779,7 +328765,7 @@ Need for Speed Rivals:
when: when:
- os: windows - os: windows
registry: registry:
HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/EA GAMES/Need For Speed Underground/*: HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/EA GAMES/Need For Speed Underground:
tags: tags:
- config - config
'Need for Speed: Underground 2': 'Need for Speed: Underground 2':
@ -334071,7 +334057,7 @@ Nights of Azure:
- os: windows - os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/Nights of Azure/Settings/*: HKEY_CURRENT_USER/Software/KoeiTecmo/Nights of Azure/Settings:
tags: tags:
- config - config
steam: steam:
@ -352738,7 +352724,7 @@ Pagans Must Die:
id: 1024720 id: 1024720
'Pahelika: Revelations HD': 'Pahelika: Revelations HD':
files: files:
<winAppData>/IronCode/PahelikaRv/*: <winAppData>/IronCode/PahelikaRv:
tags: tags:
- save - save
when: when:
@ -372249,7 +372235,7 @@ Pretentious Game:
id: 279540 id: 279540
Pretty Angel: Pretty Angel:
files: files:
<base>/PrettyAngel_Data/Save/*: <base>/PrettyAngel_Data/Save:
tags: tags:
- save - save
when: when:
@ -386912,7 +386898,7 @@ Rain's love memory-雨的恋记:
id: 1058000 id: 1058000
'Rainbow Billy: The Curse of the Leviathan': 'Rainbow Billy: The Curse of the Leviathan':
files: files:
<home>/AppData/LocalLow/Manavoid/RainbowBilly/SaveFiles/*: <home>/AppData/LocalLow/Manavoid/RainbowBilly/SaveFiles:
tags: tags:
- save - save
when: when:
@ -389018,12 +389004,12 @@ Re Painter:
id: 1096420 id: 1096420
Re-Legion: Re-Legion:
files: files:
<home>/AppData/LocalLow/Ice Code Games/Re-Legion/Elion Saves/*: <home>/AppData/LocalLow/Ice Code Games/Re-Legion/Elion Saves:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<home>/AppData/LocalLow/Ice Code Games/Re-Legion/save screens/*: <home>/AppData/LocalLow/Ice Code Games/Re-Legion/save screens:
tags: tags:
- save - save
when: when:
@ -404454,7 +404440,7 @@ Rogue Legacy 2:
- save - save
when: when:
- os: windows - os: windows
<home>/AppData/LocalLow/Cellar Door Games/Rogue Legacy 2/Saves/Steam/<storeUserId>/*: <home>/AppData/LocalLow/Cellar Door Games/Rogue Legacy 2/Saves/Steam/<storeUserId>:
tags: tags:
- save - save
when: when:
@ -412929,7 +412915,7 @@ Sairento VR:
- config - config
when: when:
- os: windows - os: windows
<base>/dataWin/Savedata/*: <base>/dataWin/Savedata:
tags: tags:
- save - save
when: when:
@ -417343,7 +417329,7 @@ School of Intellectual Gamers:
id: 1130760 id: 1130760
'School of Talent: Suzu-Route': 'School of Talent: Suzu-Route':
files: files:
<home>/AppData/LocalLow/MyDearest/School_of_Talent_SUZU-ROUTE/Utage/SaveSchool_of_Talent_SUZU-ROUTE/*: <home>/AppData/LocalLow/MyDearest/School_of_Talent_SUZU-ROUTE/Utage/SaveSchool_of_Talent_SUZU-ROUTE:
tags: tags:
- save - save
when: when:
@ -425045,17 +425031,17 @@ Shan Gui:
id: 307050 id: 307050
'Shan Gui II: Sweet Osmanthus II': 'Shan Gui II: Sweet Osmanthus II':
files: files:
<base>/ShanGuiDE/game/saves/*: <base>/ShanGuiDE/game/saves:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<home>/AppData/LocalLow/MagentaFactory/ShanGui2/Utage/Saveshangui2/*: <home>/AppData/LocalLow/MagentaFactory/ShanGui2/Utage/Saveshangui2:
tags: tags:
- save - save
when: when:
- os: windows - os: windows
<home>/AppData/LocalLow/MagentaFactory/ShanGui22/Utage/Saveshangui2/*: <home>/AppData/LocalLow/MagentaFactory/ShanGui22/Utage/Saveshangui2:
tags: tags:
- save - save
when: when:
@ -455903,7 +455889,7 @@ Star Wars Galaxies:
- when: - when:
- store: steam - store: steam
registry: registry:
HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/SOFTWARE/lucasarts entertainment company llc/star wars starfighter/1.0/*: HKEY_LOCAL_MACHINE/SOFTWARE/WOW6432Node/SOFTWARE/lucasarts entertainment company llc/star wars starfighter/1.0:
tags: tags:
- config - config
steam: steam:
@ -465328,11 +465314,6 @@ Sub Chase Online:
id: 1077360 id: 1077360
Sub Command: Sub Command:
files: files:
<base>/*:
tags:
- save
when:
- os: windows
<base>/scenario/*.mcs: <base>/scenario/*.mcs:
tags: tags:
- save - save
@ -466072,7 +466053,7 @@ Succubus Affection:
id: 1328890 id: 1328890
Succubus Rem: Succubus Rem:
files: files:
<base>/www/save/*: <base>/www/save:
tags: tags:
- save - save
when: when:
@ -485618,7 +485599,7 @@ Teslagrad:
- save - save
when: when:
- os: linux - os: linux
<home>/AppData/LocalLow/Rain/Teslagrad/*: <home>/AppData/LocalLow/Rain/Teslagrad:
tags: tags:
- save - save
when: when:
@ -485638,7 +485619,7 @@ Teslagrad:
- save - save
when: when:
- os: mac - os: mac
<root>/userdata/<storeUserId>/249590/remote/*: <root>/userdata/<storeUserId>/249590/remote:
tags: tags:
- save - save
when: when:
@ -488952,7 +488933,7 @@ The Battle for Wesnoth:
- save - save
when: when:
- os: windows - os: windows
<xdgData>/wesnoth/*: <xdgData>/wesnoth:
tags: tags:
- save - save
when: when:
@ -496621,7 +496602,7 @@ The Floor is Jelly:
- save - save
when: when:
- os: windows - os: windows
<winAppData>/jelly/Local Store/*: <winAppData>/jelly/Local Store:
tags: tags:
- save - save
when: when:
@ -501331,7 +501312,7 @@ The King of Fighters 2002 Unlimited Match:
id: 222440 id: 222440
The King of Fighters All Star: The King of Fighters All Star:
registry: registry:
HKEY_CURRENT_USER/Software/Netmarble Corp./KOF ALLSTAR/*: HKEY_CURRENT_USER/Software/Netmarble Corp./KOF ALLSTAR:
tags: tags:
- config - config
The King of Fighters XIII: The King of Fighters XIII:
@ -503681,7 +503662,7 @@ The Leopard Catgirl in Miaoli:
id: 1149510 id: 1149510
The Letter: The Letter:
files: files:
<home>/AppData/LocalLow/Yangyang Mobile/The Letter/State/*: <home>/AppData/LocalLow/Yangyang Mobile/The Letter/State:
tags: tags:
- save - save
when: when:
@ -528872,7 +528853,7 @@ Touken Ranbu Warriors:
- when: - when:
- store: steam - store: steam
registry: registry:
HKEY_CURRENT_USER/Software/dmmgames_KOEITECMO/Touken Ranbu Warriors/Graphic Setting/*: HKEY_CURRENT_USER/Software/dmmgames_KOEITECMO/Touken Ranbu Warriors/Graphic Setting:
tags: tags:
- config - config
steam: steam:
@ -529749,7 +529730,7 @@ Townsmen:
id: 486540 id: 486540
Townsmen - A Kingdom Rebuilt: Townsmen - A Kingdom Rebuilt:
files: files:
<winLocalAppData>/HandyGames/com.hg.townsmen.rebuilt/savegames/*: <winLocalAppData>/HandyGames/com.hg.townsmen.rebuilt/savegames:
tags: tags:
- save - save
when: when:
@ -533851,7 +533832,7 @@ Tricky Towers:
id: 437920 id: 437920
Tricolour Lovestory: Tricolour Lovestory:
files: files:
<base>/savedata/*: <base>/savedata:
tags: tags:
- save - save
when: when:
@ -542736,7 +542717,7 @@ Unexpected Sequence:
id: 1199110 id: 1199110
Unexplored: Unexplored:
files: files:
<home>/Library/Application Support/Unexplored/save/*: <home>/Library/Application Support/Unexplored/save:
tags: tags:
- save - save
when: when:
@ -542756,7 +542737,7 @@ Unexplored:
- config - config
when: when:
- os: windows - os: windows
<xdgData>/Unexplored/save/*: <xdgData>/Unexplored/save:
tags: tags:
- save - save
when: when:
@ -559963,7 +559944,7 @@ Warriors Orochi 3 Ultimate Definitive Edition:
os: windows os: windows
store: steam store: steam
registry: registry:
HKEY_CURRENT_USER/Software/KoeiTecmo/WARRIORS OROCHI 3 Ultimate/*: HKEY_CURRENT_USER/Software/KoeiTecmo/WARRIORS OROCHI 3 Ultimate:
tags: tags:
- config - config
steam: steam:
@ -566399,7 +566380,7 @@ Wildcat Gun Machine:
id: 1288610 id: 1288610
Wildermyth: Wildermyth:
files: files:
<base>/players/*: <base>/players:
tags: tags:
- save - save
when: when:
@ -573365,7 +573346,7 @@ Wuppo:
- config - config
when: when:
- os: windows - os: windows
<winLocalAppData>/Wuppo/savedata/*: <winLocalAppData>/Wuppo/savedata:
tags: tags:
- save - save
when: when:

View file

@ -314,14 +314,17 @@ function parsePath(path: string): [string, PathType] {
} }
} }
return [ path = path
path .replace(/\\/g, "/")
.replace(/\\/g, "/") .replace(/\/{2,}/g, "/")
.replace(/\/{2,}/g, "/") .replace(/\/(?=$)/g, "")
.replace(/\/(?=$)/g, "") .replace(/^~(?=($|\/))/, "<home>");
.replace(/^~(?=($|\/))/, "<home>"),
pathType, while (path.endsWith("/*")) {
]; path = path.slice(0, path.length - 2);
}
return [path, pathType];
} }
export function pathIsTooBroad(path: string): boolean { export function pathIsTooBroad(path: string): boolean {
@ -343,6 +346,8 @@ export function pathIsTooBroad(path: string): boolean {
"<home>/AppData/Roaming", "<home>/AppData/Roaming",
"<home>/Documents/My Games", "<home>/Documents/My Games",
"<winDocuments>/My Games", "<winDocuments>/My Games",
"<home>/Library/Application Support",
"<home>/Library/Preferences",
].includes(path)) { ].includes(path)) {
return true; return true;
} }