diff --git a/automatic/origin/Readme.md b/automatic/origin/Readme.md index 6100126cb..471e21676 100644 --- a/automatic/origin/Readme.md +++ b/automatic/origin/Readme.md @@ -1,4 +1,4 @@ -# [ ![Origin](https://img.shields.io/chocolatey/v/origin.svg?label=Origin&style=for-the-badge)](https://chocolatey.org/packages/origin) +# [ ![Origin](https://img.shields.io/chocolatey/v/origin.svg?label=Origin&style=for-the-badge)](https://chocolatey.org/packages/origin) Origin is an online gaming, digital distribution and digital rights management (DRM) platform developed by Electronic Arts that allows users to purchase games on the internet for PC and mobile platforms, and download them with the Origin client (formerly EA Download Manager, EA Downloader and EA Link). diff --git a/automatic/origin/info b/automatic/origin/info index 88bf3d5d5..53b6ef8fd 100644 --- a/automatic/origin/info +++ b/automatic/origin/info @@ -1 +1 @@ -"a94dffefbda5808fcc5a1636abdd8791-28"|10.5.28.13288 \ No newline at end of file +"b6691afbc9462ae78508a75c13cdb764-28"|10.5.29.14153 \ No newline at end of file diff --git a/automatic/origin/origin.nuspec b/automatic/origin/origin.nuspec index 2848bc296..40c1bc310 100644 --- a/automatic/origin/origin.nuspec +++ b/automatic/origin/origin.nuspec @@ -3,13 +3,13 @@ origin - 10.5.28.13288 + 10.5.29.14153 https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/origin AdmiringWorm, thaiphan Origin Electronic Arts http://www.origin.com/ - https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/8a6d25834cf98f5df36d4b3fa67a6e5677f61700/icons/origin.png + https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@8a6d25834cf98f5df36d4b3fa67a6e5677f61700/icons/origin.png © 2017 Electronic Arts Inc. http://tos.ea.com/legalapp/WEBTERMS/US/en/PC false diff --git a/automatic/origin/tools/chocolateyInstall.ps1 b/automatic/origin/tools/chocolateyInstall.ps1 index 4516a4b5a..5890bf9e0 100644 --- a/automatic/origin/tools/chocolateyInstall.ps1 +++ b/automatic/origin/tools/chocolateyInstall.ps1 @@ -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 = 'A1BED7EC3748093C6C31E1082C5441684A2AB766F253EF20DB56426505CBF189BF459C0DB794EE553B5296A7D1443C3FD1CA6CE6FBEBCDBEC94562C0C423282C' + checksum = '1D295C538FB3D006DF2B98D4A9C92E0552538BEF94D7EC896B742DF90CC4B0080BAB418F2D7D0BDF811185A0D279F3E9CB14B7F9F85BFF3F0C52CD39DDB420F6' checksumType = 'sha512' destination = Get-PackageCacheLocation } @@ -16,7 +16,7 @@ if ($env:ChocolateyForce -ne $true) { try { $InstalledVersion = Get-UninstallRegistryKey $packageArgs['softwareName'] | Select-Object -First 1 -Expand 'DisplayVersion' - if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.28.13288')) + if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.29.14153')) { Write-Host "Skipping installation because version $InstalledVersion is already installed." return @@ -34,10 +34,10 @@ $packageArgs['file'] = $zipFile $packageArgs['destination'] = GetInstallLocation $pp if ($pp.NoAutoUpdate) { - CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.28.13288' + CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.29.14153' } else { - CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.28.13288' + CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.29.14153' } Get-ChocolateyUnzip @packageArgs