Skip to content

Commit

Permalink
AU: 2 updated - disposablefixer origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Aug 23, 2018
1 parent a88d165 commit c2603d4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion automatic/disposablefixer/disposablefixer.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>disposablefixer</id>
<version>0.40.0</version>
<version>1.1.0</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/disposablefixer</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>DisposableFixer</title>
Expand Down
4 changes: 2 additions & 2 deletions automatic/disposablefixer/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ in verifying that this package's contents are trustworthy.
The extension has been downloaded from visual studio gallery <https://marketplace.visualstudio.com/items?itemName=DavidStormer.DisposableFixer>
and can be verified like this:

1. Download <https://davidstormer.gallerycdn.vsassets.io/extensions/davidstormer/disposablefixer/0.40.0/1532881569098/DisposableFixer.vsix>
1. Download <https://davidstormer.gallerycdn.vsassets.io/extensions/davidstormer/disposablefixer/1.1.0/1534956657906/DisposableFixer.vsix>
2. Then use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum: 6129CB230E7C21993DD76E7F56EE4F3FF489DA673F500EA2A0B463DD870EECD3
checksum: D064848F16CC774A6139E86F4717F0A5F4F9A1BB63F4995EB4A00A58A223AA1E

File 'LICENSE.txt' is obtained from <https://github.com/BADF00D/DisposableFixer/blob/24d83f777495bdac0cd48905b740b35f343f9696/License.txt>
2 changes: 1 addition & 1 deletion automatic/origin/info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2abc9c00e515ff9abd6dc96bcb6e0208-28"|10.5.24.5022
"0f0790ef9fa3046b2af6275c9d5fe096-28"|10.5.25.7131
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.24.5022</version>
<version>10.5.25.7131</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/origin</packageSourceUrl>
<owners>AdmiringWorm, thaiphan</owners>
<title>Origin</title>
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,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 = '7631F00C26402F869E08B4C4D276952B182FC3B2B3A8A0C2E6DD1FECDFA051BEF9952B3C5D62FAA3C6B03946916F2A7B15A2CDFDB8F8C9303980EC588C355BE5'
checksum = '87FE455DCD23134BE6B933E8BBD084D03E1D6F6FA511F71468AA8C9B3E78EF6E8AA1F4339F9404C434C8B88EA100DD9540A2ED4213B0FDF7CDF8522928BB0C76'
checksumType = 'sha512'
destination = Get-PackageCacheLocation
}
Expand All @@ -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.24.5022'))
if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.25.7131'))
{
Write-Host "Skipping installation because version $InstalledVersion is already installed."
return
Expand All @@ -34,10 +34,10 @@ $packageArgs['file'] = $zipFile
$packageArgs['destination'] = GetInstallLocation $pp

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

Get-ChocolateyUnzip @packageArgs
Expand Down

0 comments on commit c2603d4

Please sign in to comment.