Add 'name_localized' and 'launch' to Steam cache (part 1)
This commit is contained in:
parent
1fe83ec8c5
commit
dd63a8248f
5 changed files with 138861 additions and 280 deletions
16
src/bin.ts
16
src/bin.ts
|
@ -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,
|
||||
|
|
Reference in a new issue