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

update: Fix check URLs for macos-universal returning 404 #129

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

OatmealDome
Copy link
Member

The regex to extract the platform in /update/check uses \w, which does not match dashes. This causes all macos-universal update checks to return 404 Not Found. So, I replaced \w with something equivalent that also matches dashes.

In addition, I added macos-universal to the supported platforms check.

This PR is completely untested, because I have no idea how to spin up an instance of this. I'm pretty sure the changes are correct, though...

Copy link
Contributor

@Dentomologist Dentomologist left a comment

Choose a reason for hiding this comment

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

I'm not very familiar with this repo, but in the interests of pushing this along I'll review it anyway.

The changes make sense, and after grepping through the code for case-insensitive "mac" I didn't see any other places in www that need to be modified to fix this.

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

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

looks sane

@leoetlino leoetlino merged commit c5943bd into dolphin-emu:stable Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants