File tree 3 files changed +6
-5
lines changed
automatic/googlechromebeta
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 42
42
* /nexus-repository * @ chocolatey-community/chocolatey-team-maintainers
43
43
* /totalcommander * @ pauby
44
44
* /kubescape * @ HollowMan6
45
- * /azcopy10 * @ chocolatey-community/chocolatey-team-maintainers
45
+ * /azcopy10 * @ chocolatey-community/chocolatey-team-maintainers
46
+ * /googlechromebeta @ tunisiano187
46
47
47
48
# Other
48
49
# This can be any file other that won't be matched as a package
Original file line number Diff line number Diff line change 5
5
<id >googlechromebeta</id >
6
6
<version >120.0.6099.56-beta</version >
7
7
<title >Google Chrome Beta</title >
8
- <owners >chocolatey-community,nsleigh</owners >
8
+ <owners >chocolatey-community,nsleigh,tunisiano </owners >
9
9
<authors >Google LLC.</authors >
10
10
<projectUrl >https://www.google.com/chrome/browser/</projectUrl >
11
11
<licenseUrl >https://www.google.it/intl/en/chrome/browser/privacy/eula_text.html</licenseUrl >
Original file line number Diff line number Diff line change 1
1
Import-Module Chocolatey- AU
2
2
import-module " $PSScriptRoot \..\..\scripts\au_extensions.psm1"
3
3
4
- $releases = ' https://omahaproxy.appspot .com/all?os= win&channel= beta'
4
+ $releases = " https://versionhistory.googleapis .com/v1/chrome/platforms/ win/channels/ beta/versions "
5
5
$paddedUnderVersion = ' 57.0.2988'
6
6
7
7
function global :au_BeforeUpdate {
@@ -22,8 +22,8 @@ function global:au_SearchReplace {
22
22
}
23
23
24
24
function global :au_GetLatest {
25
- $release_info = Invoke-WebRequest - Uri $releases - UseBasicParsing
26
- $version = $release_info | ForEach -Object Content | ConvertFrom-Csv | ForEach-Object current_version
25
+ $releasesData = Invoke-RestMethod - UseBasicParsing - Method Get - Uri $releases
26
+ $version = ( $releasesData .versions | Select -Object - First 1 ).version
27
27
$version = " $version -beta"
28
28
29
29
@ {
You can’t perform that action at this time.
0 commit comments