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

Commandline: Flatten getGameDir #1033

Merged
merged 3 commits into from
Jan 28, 2024
Merged

Commandline: Flatten getGameDir #1033

merged 3 commits into from
Jan 28, 2024

Conversation

sonic2kk
Copy link
Owner

Part of some ongoing work along the lines of #1031, and #1032 (and part of #1011).

This PR flattens out the nested logic in getGameDir, to make it more maintainable and easier to read. There wasn't really any refactors here like in #1032, this was more like #1031 which just got flattened.

@sonic2kk
Copy link
Owner Author

Works in testing, including with Non-Steam Games, but needs a rebase.

@sonic2kk
Copy link
Owner Author

Rebased, but needs further testing.

@sonic2kk
Copy link
Owner Author

Tested, doesn't seem to cause any regressions. Will merge after shellcheck + version bump.

@sonic2kk sonic2kk merged commit 6301dea into master Jan 28, 2024
@sonic2kk sonic2kk deleted the flatten-getgamedir branch March 15, 2024 18:39
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.

1 participant