Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Check for VDF files before selecting Steam install directory #231

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

sonic2kk
Copy link
Contributor

Following discussion in #226 (comment), 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 that config.vdf and libraryfolders.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.

@DavidoTek
Copy link
Owner

Following discussion in #226 (comment), 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants