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 Mar 28, 2018
1 parent 93c336c commit e0b6dc8
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 @@
"bb6fb570f744880b8e811c5632f926c2-14"|10.5.14.38647
"d650e8fe51b6800fd2b20a72e6b1a9ad-14"|10.5.15.44004
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.14.38647</version>
<version>10.5.15.44004</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 = 'BA86F37F173C28A22B8CC30B8FA4943F322A09F211FEAC8B4FF7F5B4D96CE0FDBEEC112EADBE5A937FA7B5554DEA37DC5CE20BC21B7990CA44D6D176898F4939'
checksum = 'D99A833F0E222D9C00FDA495AECE29CDB94120B4EF1021AB2D7A118008D58118CE702ABB38A5A8FBEEEB3843307F10375F8781B12DDE8503A78BC71BA7CA259E'
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.14.38647'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.15.44004'
}
else {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.14.38647'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.15.44004'
}

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit e0b6dc8

Please sign in to comment.