mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
google-chrome: more robust update check
This commit is contained in:
parent
2cfef58907
commit
0813c61332
1 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
# This is the only site I've reliably found the version number on
|
||||
site=https://www.whatismybrowser.com/guides/the-latest-version/chrome
|
||||
pattern="\K\d+\.\d+\.\d+\.\d+(?=<\/h2>)"
|
||||
# This site is an official source of version numbers, but it is not
|
||||
# obviously associated as such. We save bytes here and request the
|
||||
# CSV, and then only the row containing the stable version number for
|
||||
# the Linux desktop build. As a result the regex can be pretty simple
|
||||
# to just grab the version number out of the correct column.
|
||||
site="https://omahaproxy.appspot.com/all?os=linux&channel=stable"
|
||||
pattern="stable,\K[\d.]+(?=,)"
|
||||
|
|
Loading…
Add table
Reference in a new issue