Chrome uses partial rollout for Darwin and Windows
This is represented by `fractionGroup` and `fraction`.
0.25 means 25% of users, 0.5 means 50% of users and so on.
Partial rollouts aren't done on linux, and so `fraction` and `fractionalGroup` is always 1 for it.
Here we add some additional parameters to chrome version history api endpoint, to get the latest version, sort the versions in descending order.
These parameters are redundant on Linux but kept anyway.
See https://github.com/NixOS/nixpkgs/pull/343552#issuecomment-2366799267
Docs: https://developer.chrome.com/docs/web-platform/versionhistory/reference#filter
google-chrome: fix launch error on linux
Co-authored-by: Masum Reza <masumrezarock100@gmail.com>
google-chrome: fix updater script to use /usr/bin/env nix-shell
Co-authored-by: Jon Seager <jon@sgrs.uk>