nixpkgs/pkgs/by-name/go/google-chrome
John Titor bc4914bcf1
google-chrome: fix update script
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
2024-09-22 23:19:09 +05:30
..
package.nix google-chrome: 128.0.6613.137 -> 129.0.6668.58 2024-09-22 00:36:27 +05:30
update.sh google-chrome: fix update script 2024-09-22 23:19:09 +05:30