Skip to content

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