Add 'name_localized' and 'launch' to Steam cache (part 1)

This commit is contained in:
mtkennerly 2022-05-31 05:06:32 +08:00
parent 1fe83ec8c5
commit dd63a8248f
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
5 changed files with 138861 additions and 280 deletions

View file

@ -23,6 +23,7 @@ interface Cli {
skipUntil?: string,
recent?: boolean,
limit?: number,
steam?: boolean,
}
async function main() {
@ -41,7 +42,11 @@ async function main() {
"irregularPathUntagged",
"tooBroad",
"tooBroadUntagged",
]
"steam",
],
string: [
"skipUntil",
],
});
const wikiCache = new WikiGameCacheFile();
@ -70,6 +75,15 @@ async function main() {
}
}
if (args.steam) {
await steamCache.refresh(
{
skipUntil: args.skipUntil,
},
args.limit ?? 25,
);
}
if (args.manifest) {
await manifest.updateGames(
wikiCache.data,