mirror of
https://github.com/dolphin-emu/www.git
synced 2024-11-23 09:29:39 +00:00
utils: Add user OS matcher for generic Linux
Used for Flatpak and AppImage.
This commit is contained in:
parent
5700db0e07
commit
f67c72cedc
@ -30,6 +30,8 @@ def guess_system_from_ua(request):
|
||||
return { "USER_OS": "ubu" }
|
||||
elif "Android" in ua:
|
||||
return { "USER_OS": "android" }
|
||||
elif "Linux" in ua:
|
||||
return { "USER_OS": "linux-generic" }
|
||||
else:
|
||||
return { "USER_OS": "unknown" }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user