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 Dec 21, 2017
1 parent 72c92f8 commit 21d9cec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
5 changes: 5 additions & 0 deletions automatic/origin/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Package changelog for [Origin](https://chocolatey.org/packages/origin)

## Version: 10.5.8.17910 (2017-12-21)
- **ENHANCEMENT:** (origin) Create start menu shortcut [#10](https://github.com/AdmiringWorm/chocolatey-packages/issues/10)
- **ENHANCEMENT:** (origin) Optionally create a desktop icon [#11](https://github.com/AdmiringWorm/chocolatey-packages/issues/11)
- **IMPROVEMENT:** Changed to detect etag instead of parsing FileHorse

## Version: 10.5.8.11002 (2017-12-06)
- **BUG:** Corrected uninstall silent argument
- **ENHANCEMENT:** Add package changelogs [#6](https://github.com/AdmiringWorm/chocolatey-packages/issues/6)
Expand Down
2 changes: 1 addition & 1 deletion automatic/origin/info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"230577fd0e76bb46c79988cf42601d9c-14"|10.5.8.11002
"f9c7cb51373c016e59567a1478544272-28"|10.5.8.17910
4 changes: 3 additions & 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.8.11002</version>
<version>10.5.8.17910</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/origin</packageSourceUrl>
<owners>AdmiringWorm, thaiphan</owners>
<title>Origin</title>
Expand All @@ -26,6 +26,8 @@ Origin contains social features such as profile management, networking with frie
- `/InstallDir:` - Select the location to where the origin client should be installed (*Defaults to `C:\Program Files\Origin` (32bit), `C:\Program Files (x86)\Origin` (64bit), or the previously installed location*)
- `/LaunchOrigin` - Start Origin Client after installation
- `/StartOrigin` - Alias for `/LaunchOrigin`
- `/NoStartMenuIcon` - Don't create a shortcut on the start menu
- `/DesktopIcon` - Create a shortcut on the desktop
]]></description>
<dependencies>
<dependency id="chocolatey-core.extension" version="1.3.3" />
Expand Down
8 changes: 4 additions & 4 deletions automatic/origin/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ $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 = '76E1384F7F489A7265915387BC04C61E7FC3A4EE8EFACB013DBF0C8B7F23E20A'
checksumType = 'sha256'
checksum = '87A6AA2D3118B9BB31A768C02B1BE0AC51D8AF9DF95319516C4286C5CE852577F71160FC44F480A6406A47EF067295D4876BC3623AA6F9D2791C8D30924DC991'
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.8.11002'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.8.17910'
}
else {
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.8.11002'
CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.8.17910'
}

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit 21d9cec

Please sign in to comment.