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

Fix #148 #165

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Fix #148 #165

merged 3 commits into from
Oct 7, 2024

Conversation

thw26
Copy link
Collaborator

@thw26 thw26 commented Aug 31, 2024

Fix #148. My goal is to make the code more readable/usable/extensible (for future wine versions).

The goal was to get rid of the lengthy if/else check. Short of just keeping a list of known bad versions for x.0–x.26, I thought a rules based approach would be better, i.e., making what was explicit is now contained in a reusable function.

I haven not noticed any regressions with this change.

@thw26 thw26 requested a review from n8marti August 31, 2024 03:10
@thw26 thw26 force-pushed the 148-wine-version-check-update branch 5 times, most recently from 0f9939b to 57f2aed Compare September 21, 2024 13:04
@thw26 thw26 force-pushed the 148-wine-version-check-update branch from 57f2aed to e9693a4 Compare October 3, 2024 11:02
@thw26 thw26 force-pushed the 148-wine-version-check-update branch from e9693a4 to 3cc21d3 Compare October 4, 2024 17:16
Copy link
Collaborator

@n8marti n8marti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a quick way to check which Logos versions work with which wine versions and releases, so I'm going to assume you've done at least some spot-checking on that and approve the PR.

@thw26 thw26 merged commit 91dfadb into main Oct 7, 2024
@n8marti n8marti deleted the 148-wine-version-check-update branch October 9, 2024 04:18
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.

Switch to a dictionary for Wine version checking
2 participants