Skip to content

Commit

Permalink
AU: 5 updated - activepresenter git git.install mkdocs-material Opera
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 22, 2018
1 parent 611119f commit 1baf4a3
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion automatic/activepresenter/activepresenter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
<id>activepresenter</id>
<title>Active Presenter</title>
<version>7.0.0</version>
<version>7.0.1</version>
<authors>Atomi Systems</authors>
<owners>chocolatey</owners>
<summary>Screen Recording and Interactive eLearning Authoring Tool</summary>
Expand Down
6 changes: 3 additions & 3 deletions automatic/activepresenter/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ Package can be verified like this:

1. Go to

x32: https://cdn.atomisystems.com/apdownloads/ActivePresenter_v7.0.0_setup.exe
x32: https://cdn.atomisystems.com/apdownloads/ActivePresenter_v7.0.1_setup.exe

to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: A4EF55B34BF46FD996497BC905071E0C84D33E828F3E47B2F0CAC5BF8A02C1DA
checksum32: 33DA5B27A3C354B3BAC785C6F19C486ACD6A585CEE596A5078BF546F446B0819

Using AU:

Get-RemoteChecksum https://cdn.atomisystems.com/apdownloads/ActivePresenter_v7.0.0_setup.exe
Get-RemoteChecksum https://cdn.atomisystems.com/apdownloads/ActivePresenter_v7.0.1_setup.exe
4 changes: 2 additions & 2 deletions automatic/activepresenter/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$fileType = 'exe'
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$embedded_path = gi "$toolsDir\*.$fileType"
$embedded_path = Get-Item "$toolsDir\*.$fileType"

$packageArgs = @{
packageName = 'activepresenter'
Expand All @@ -12,7 +12,7 @@ $packageArgs = @{
validExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
rm $embedded_path -ea 0
Remove-Item $embedded_path -ea 0

$packageName = $packageArgs.packageName
$installLocation = Get-AppInstallLocation $packageName
Expand Down
2 changes: 1 addition & 1 deletion automatic/git.install/git.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>git.install</id>
<title>Git (Install)</title>
<version>2.16.0.2</version>
<version>2.16.1</version>
<authors>The Git Development Community</authors>
<owners>chocolatey</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
Expand Down
8 changes: 4 additions & 4 deletions automatic/git.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer have been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.16.0.windows.2/Git-2.16.0.2-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.16.0.windows.2/Git-2.16.0.2-64-bit.exe>
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.1/Git-2.16.1-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.1/Git-2.16.1-64-bit.exe>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type:
checksum32: F595B9245F387AA6E4E1DBF7EDA7C963B80D3DED05FAFA16F09DBAC582FA3E6A
checksum64: DDA9C9EACDEC5BB1369351B48D84C7BA947C85CF5F6285E369EEBC89075F8BB7
checksum32: 559886DE7E5E4EDCC3E4C5B1CB766AB90B37D4B7564A61770ABDFD3CC84D53FC
checksum64: 45EF5C5BD4B89C7D1A0126ECB37CD49F8D7F176458C1084149315BFC3AF0ECCD

File 'LICENSE.txt' is obtained from <https://github.com/git-for-windows/git/blob/703601d6780c32d33dadf19b2b367f2f79e1e34c/COPYING>
4 changes: 2 additions & 2 deletions automatic/git/git.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>git</id>
<title>Git</title>
<version>2.16.0.2</version>
<version>2.16.1</version>
<authors>The Git Development Community</authors>
<owners>chocolatey</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
Expand Down Expand Up @@ -43,7 +43,7 @@ Git for Windows focuses on offering a lightweight, native set of tools that brin
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/10a8d98b2f320b565fa5349a4352e79666db71ff/icons/git.svg</iconUrl>
<dependencies>
<dependency id="git.install" version="[2.16.0.2]" />
<dependency id="git.install" version="[2.16.1]" />
</dependencies>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion automatic/mkdocs-material/mkdocs-material.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>mkdocs-material</id>
<title>MkDocs Material Theme</title>
<version>2.5.1</version>
<version>2.5.2</version>
<authors>Martin Donath</authors>
<owners>chocolatey</owners>
<projectUrl>http://squidfunk.github.io/mkdocs-material/</projectUrl>
Expand Down
2 changes: 1 addition & 1 deletion automatic/mkdocs-material/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Update-SessionEnvironment

$version = '2.5.1'
$version = '2.5.2'

$proxy = Get-EffectiveProxy
if ($proxy) {
Expand Down
4 changes: 2 additions & 2 deletions automatic/opera/opera.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Opera</id>
<version>50.0.2762.58</version>
<version>50.0.2762.67</version>
<title>Opera</title>
<owners>chocolatey</owners>
<authors>Opera</authors>
Expand All @@ -16,7 +16,7 @@ The Opera web browser makes the Web fast and fun, giving you a better web browse
]]></description>
<summary>The Opera web browser makes the Web fast and fun, giving you a better web browser experience on any computer.</summary>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-50/#b2762.58</releaseNotes>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-50/#b2762.67</releaseNotes>
<tags>browser opera cross-platform internet admin</tags>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/opera</packageSourceUrl>
</metadata>
Expand Down
10 changes: 5 additions & 5 deletions automatic/opera/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ $toolsPath = (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://get.geo.opera.com/pub/opera/desktop/50.0.2762.58/win/Opera_50.0.2762.58_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera/desktop/50.0.2762.58/win/Opera_50.0.2762.58_Setup_x64.exe'
checksum = '18c30c5e645471a0b423008cac640e9616d01d54f00eadccb2f1e2d19e45bcb1'
checksum64 = '3b60ab504d49997400674269c4f8641c81907d61e8a29403205a34ab819703e4'
url = 'https://get.geo.opera.com/pub/opera/desktop/50.0.2762.67/win/Opera_50.0.2762.67_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera/desktop/50.0.2762.67/win/Opera_50.0.2762.67_Setup_x64.exe'
checksum = 'd9741faefc574a5c3c99d9a1e788de9a26ddda06a8f469764d6bead09ab69e97'
checksum64 = 'cb9f466732abfea1460c0881caf41d262bbe216ace66d61ddb7682088a35046a'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/install /silent /launchopera 0 /setdefaultbrowser 0'
validExitCodes = @(0)
}

$version = '50.0.2762.58'
$version = '50.0.2762.67'
if (!$Env:ChocolateyForce -and (IsVersionAlreadyInstalled $version)) {
Write-Output "Opera $version is already installed. Skipping download and installation."
} else {
Expand Down
4 changes: 2 additions & 2 deletions automatic/opera/tools/helpers.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
function IsVersionAlreadyInstalled {
function IsVersionAlreadyInstalled {
param($version)

if ($env:ChocolateyForce ) { return $false }

[array]$keys = Get-UninstallRegistryKey -SoftwareName "Opera*" -wa 0 | ? { $_.DisplayVersion -and $_.DisplayVersion -eq $version }
[array]$keys = Get-UninstallRegistryKey -SoftwareName "Opera*" -wa 0 | Where-Object { $_.DisplayVersion -and $_.DisplayVersion -eq $version }
return $keys.Count -gt 0
}

0 comments on commit 1baf4a3

Please sign in to comment.