Flag two missed irregular entries
This commit is contained in:
parent
dae2cd5695
commit
001fdb8b32
2 changed files with 10 additions and 3 deletions
|
@ -141801,7 +141801,8 @@
|
||||||
launch:
|
launch:
|
||||||
- description: Launch
|
- description: Launch
|
||||||
executable: BretAirborne.exe
|
executable: BretAirborne.exe
|
||||||
'342520': {}
|
'342520':
|
||||||
|
irregular: true
|
||||||
'342530':
|
'342530':
|
||||||
installDir: HNL-PPPP
|
installDir: HNL-PPPP
|
||||||
launch:
|
launch:
|
||||||
|
@ -168007,6 +168008,7 @@
|
||||||
executable: FreezeME_Linux.x86_64
|
executable: FreezeME_Linux.x86_64
|
||||||
type: default
|
type: default
|
||||||
'390220':
|
'390220':
|
||||||
|
irregular: true
|
||||||
nameLocalized:
|
nameLocalized:
|
||||||
german: Klomanager Deluxe
|
german: Klomanager Deluxe
|
||||||
'390290':
|
'390290':
|
||||||
|
|
|
@ -43,8 +43,13 @@ export class SteamGameCacheFile extends YamlFile<SteamGameCache> {
|
||||||
this.data[key] = {};
|
this.data[key] = {};
|
||||||
|
|
||||||
const installDir = info.apps[key].appinfo.config?.installdir;
|
const installDir = info.apps[key].appinfo.config?.installdir;
|
||||||
if (installDir !== undefined && !this.isIrregularString(installDir)) {
|
if (installDir !== undefined) {
|
||||||
|
if (!this.isIrregularString(installDir)) {
|
||||||
|
// Avoid: https://github.com/DoctorMcKay/node-steam-user/issues/397
|
||||||
this.data[key].installDir = installDir;
|
this.data[key].installDir = installDir;
|
||||||
|
} else {
|
||||||
|
this.data[key].irregular = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const nameLocalized = info.apps[key].appinfo.common?.name_localized;
|
const nameLocalized = info.apps[key].appinfo.common?.name_localized;
|
||||||
|
|
Reference in a new issue