Right, but that could still be given dynamically by a library as “one of the unsupported ones”, getOSName(). They still might not have hard-coded “Linux is bad”.
The program has the information, but that doesn’t mean the people that wrote the code felt it was worth their time to make the “upgrade” text inclusive to Linux, if they even considered the possibility of Linux.
If they were using user agents for identification, Android browsers on “Desktop mode” would be wrongly identified as “Linux”. Even Discord has this issue on their download page. “Premium” Android devices with large screens use Desktop mode by default
Which will be “If not Windows 11 or Mac os then report os string”. I don’t think they specifically took the time to research different OS’s and list them.
They’re probably using a third party library to do user agent detection. I doubt anyone ever tested their code on Linux in the first place. They’re probably writing code like “if Windows version >= 10 or macOS version >= 10.14 or Android version > 10 or iOS version > 14” and Linux just happens to fall through because it has none of those versions.
Their deliberate word choice of “upgrade” to supported operating system is mildly infuriating.
They probably assume you are running something like Windows 7
Uhh
Right, but that could still be given dynamically by a library as “one of the unsupported ones”, getOSName(). They still might not have hard-coded “Linux is bad”.
I’d like to interject for a moment…
They know which operating system you use based on the user agent, so they know it’s Linux.
The program has the information, but that doesn’t mean the people that wrote the code felt it was worth their time to make the “upgrade” text inclusive to Linux, if they even considered the possibility of Linux.
If they were using user agents for identification, Android browsers on “Desktop mode” would be wrongly identified as “Linux”. Even Discord has this issue on their download page. “Premium” Android devices with large screens use Desktop mode by default
Which will be “If not Windows 11 or Mac os then report os string”. I don’t think they specifically took the time to research different OS’s and list them.
They’re probably using a third party library to do user agent detection. I doubt anyone ever tested their code on Linux in the first place. They’re probably writing code like “if Windows version >= 10 or macOS version >= 10.14 or Android version > 10 or iOS version > 14” and Linux just happens to fall through because it has none of those versions.
Captain, what should we do? She’s not on the list.
deleted by creator