From a49b9114f92b141dfae76199be2ba81252df0e41 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sun, 23 Jun 2024 18:06:41 +0200 Subject: make sure "libraryfolders" exists in VDF files --- src/modules/findgame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/findgame.js b/src/modules/findgame.js index f8d0126..d53397b 100644 --- a/src/modules/findgame.js +++ b/src/modules/findgame.js @@ -31,7 +31,7 @@ module.exports = async () => { data = vdf.parse(data); // parse read_data // verify VDF was parsed correctly - if (! data || typeof data !== "object") { + if (! data || typeof data !== "object" || ! data.libraryfolders) { return; } -- cgit v1.2.3