Closed sonic2kk closed 1 year ago
Following discussion in https://github.com/DavidoTek/ProtonUp-Qt/issues/226#issuecomment-1509838832, it appears Steam install folders can exist and have the valid directory structure, but not the actual files that we need.
Sorry I couldn't respond earlier. Definitively good findings!
Thanks!
Following discussion in https://github.com/DavidoTek/ProtonUp-Qt/issues/226#issuecomment-1509838832, it appears Steam install folders can exist and have the valid directory structure, but not the actual files that we need.
This PR addresses this by changing the
_STEAM_ROOT
selection check. Now we check thatconfig.vdf
andlibraryfolders.vdf
exist in the given Steam root dir, as if they do, that implies_STEAM_ROOT/config
exists as well, so no need to check that as well.