Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if library folders exist before exporting them
We get the STEAM_COMPAT_LIBRARY_PATHS variable from Steam itself, but for some reason, Steam can pass library folders that no longer exist in this variable. When STL searches through the library folders when trying to set up some Steam library path variables itself, a minor warning from \`find\` is triggered in setSteamLibraryPaths. This should not cause any bugs, but to prevent the output from the command line (which could also potentially confuse users), add a check before continuing with the while loop to ensure that the current path actually exists. I noticed this when I replaced a drive in my PC and saw the warning from find. Should not change any behaviour apart from cleaning up after what appears to be an extremely minor Steam client bug.
- Loading branch information