diff options
author | 0neGal <mail@0negal.com> | 2022-03-22 23:35:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 23:35:22 +0100 |
commit | 9573c62bf1dfde501af4bd92854adc335faca68b (patch) | |
tree | 849e824376543a16490e48cca0625c84628f81f9 /src/utils.js | |
parent | 30358b9c8b30bf10ff62e32e655e37cc15d4dcdb (diff) | |
download | Viper-9573c62bf1dfde501af4bd92854adc335faca68b.tar.gz Viper-9573c62bf1dfde501af4bd92854adc335faca68b.zip |
fix: VDF path searching not working on SteamDeck (#97)
* added debug messages
* more debug logging
* even more debug logging
* removed debugging and fixed VDF problem maybe?
Apparently the libraryfolders.vdf doesn't always come with the same
values, sometimes it comes with the contentstatsid variable and other
times not, we assumed it always was there, and never checked for it,
this caused problems if it wasn't there. This should fix that...
Diffstat (limited to 'src/utils.js')
-rw-r--r-- | src/utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js index 7c1c22b..57c0289 100644 --- a/src/utils.js +++ b/src/utils.js @@ -769,6 +769,8 @@ setInterval(() => { ipcMain.emit("guigetmods"); }, 1500) +console.log(findgame()) + module.exports = { mods, lang, |