Skip to content

Commit

Permalink
AU: 1 updated - origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Apr 10, 2018
1 parent b074df6 commit a5b1696
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion automatic/origin/info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"d650e8fe51b6800fd2b20a72e6b1a9ad-14"|10.5.15.44004
"1a0472c571fac0c3471ba2335bb9368d-14"|10.5.16.49299
2 changes: 1 addition & 1 deletion automatic/origin/origin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>origin</id>
<version>10.5.15.44004</version>
<version>10.5.16.49299</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/origin</packageSourceUrl>
<owners>AdmiringWorm, thaiphan</owners>
<title>Origin</title>
Expand Down
6 changes: 3 additions & 3 deletions automatic/origin/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $packageArgs = @{
packageName = $env:ChocolateyPackageName
url = 'https://download.dm.origin.com/origin/live/OriginSetup.exe'
softwareName = 'Origin*' # Probably not needed, but we add registry keys so we keep it
checksum = 'D99A833F0E222D9C00FDA495AECE29CDB94120B4EF1021AB2D7A118008D58118CE702ABB38A5A8FBEEEB3843307F10375F8781B12DDE8503A78BC71BA7CA259E'
checksum = 'B3C590F6E79B0636CCFC483FA67D0A7136AB3A2B03990B64555FD95AB569F7E68659516B9C6E9D3CBBDEE25BF63A939091538AE037FA49115FB201B61BC26FE4'
checksumType = 'sha512'
destination = Get-PackageCacheLocation
}
Expand All @@ -20,10 +20,10 @@ $packageArgs['file'] = $zipFile
$packageArgs['destination'] = GetInstallLocation $pp

if ($pp.NoAutoUpdate) {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.15.44004'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.16.49299'
}
else {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.15.44004'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.16.49299'
}

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit a5b1696

Please sign in to comment.