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 Feb 14, 2018
1 parent b5e0f40 commit eebd8cb
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 @@
"dd23991ecdfe6933805d6f6c69d99dcb-14"|10.5.10.24870
"4c6c8cfa9c11e496bea6cff4bdd4bb03-14"|10.5.11.27975
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.10.24870</version>
<version>10.5.11.27975</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 = '96CC15D0DAF1DDC3E664AEBD28EC47BC0AC9A4BFCEC83A1CCBCB99438CF2ACE9888DF00F4733119EEA5BEAB79CBB8F5B5F3FE4056614667C997BC1EA2798C100'
checksum = '06BB66745DB6D7E6DEC93E3D6804F823FAE390DDB3DAD270EEB3E83325642312AEF7547168BB0E6BCF13CB532BBD1E019C5288F0174BDF2B9F960EAA66017422'
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.10.24870'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.11.27975'
}
else {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.10.24870'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.11.27975'
}

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit eebd8cb

Please sign in to comment.