dolphin-emu / www

Dolphin Emulator official website source code (running on https://dolphin-emu.org/)
MIT License
120 stars 68 forks source link

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

Closed OatmealDome closed 3 years ago

OatmealDome commented 3 years ago

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...