Refresh Steam data for Lies of P
This commit is contained in:
parent
aebe293878
commit
9995c2f8af
3 changed files with 18 additions and 2 deletions
|
@ -91251,7 +91251,19 @@
|
||||||
oslist: windows
|
oslist: windows
|
||||||
executable: Retro Classix Breakthru.exe
|
executable: Retro Classix Breakthru.exe
|
||||||
type: default
|
type: default
|
||||||
'1627720': {}
|
'1627720':
|
||||||
|
installDir: Lies of P
|
||||||
|
launch:
|
||||||
|
- config:
|
||||||
|
osarch: '64'
|
||||||
|
oslist: windows
|
||||||
|
description: Lies of P
|
||||||
|
description_loc:
|
||||||
|
english: Lies of P
|
||||||
|
executable: LOP.exe
|
||||||
|
type: default
|
||||||
|
nameLocalized:
|
||||||
|
koreana: P의 거짓 (Lies of P)
|
||||||
'1628120': {}
|
'1628120': {}
|
||||||
'1628760':
|
'1628760':
|
||||||
installDir: Kawaii Neko Girls
|
installDir: Kawaii Neko Girls
|
||||||
|
|
|
@ -106,6 +106,7 @@ async function main() {
|
||||||
args.irregular ?? false,
|
args.irregular ?? false,
|
||||||
args.irregularPathUntagged ?? false,
|
args.irregularPathUntagged ?? false,
|
||||||
args.limit ?? DEFAULT_GAME_LIMIT,
|
args.limit ?? DEFAULT_GAME_LIMIT,
|
||||||
|
args._.map(x => x.toString()) ?? [],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ export class SteamGameCacheFile extends YamlFile<SteamGameCache> {
|
||||||
return this.data[key];
|
return this.data[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
async refresh(skipUntil: string | undefined, irregularTagged: boolean, irregularUntagged: boolean, limit: number): Promise<void> {
|
async refresh(skipUntil: string | undefined, irregularTagged: boolean, irregularUntagged: boolean, limit: number, appIds: Array<string>): Promise<void> {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
let foundSkipUntil = false;
|
let foundSkipUntil = false;
|
||||||
for (const appId of Object.keys(this.data).sort()) {
|
for (const appId of Object.keys(this.data).sort()) {
|
||||||
|
@ -91,6 +91,9 @@ export class SteamGameCacheFile extends YamlFile<SteamGameCache> {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (appIds.length > 0 && !appIds.includes(appId)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (irregularTagged) {
|
if (irregularTagged) {
|
||||||
if (!this.data[appId].irregular) {
|
if (!this.data[appId].irregular) {
|
||||||
|
|
Reference in a new issue