Currently, W11 is detected as 10. This is due to the fact that 11's kernel version is still 10.0. To detect whether a user is using 10 or 11, it seems as though the library may have to use client hints - however, Firefox doesn't currently support these and it's unclear to me if they will be added. There may be alternative ways to get this info - not sure of any specific methods, but still.
Currently, W11 is detected as 10. This is due to the fact that 11's kernel version is still
10.0
. To detect whether a user is using 10 or 11, it seems as though the library may have to use client hints - however, Firefox doesn't currently support these and it's unclear to me if they will be added. There may be alternative ways to get this info - not sure of any specific methods, but still.