Skip to content

Commit

Permalink
AU: 2 updated - nodejs nodejs.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Dec 7, 2018
1 parent d2a36e0 commit 5c23b3e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions automatic/nodejs.install/legal/VERIFICATION.txt
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://nodejs.org/dist/v10.14.1/node-v10.14.1-x86.msi>
64-Bit: <https://nodejs.org/dist/v10.14.1/node-v10.14.1-x64.msi>
32-Bit: <https://nodejs.org/dist/v11.4.0/node-v11.4.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v11.4.0/node-v11.4.0-x64.msi>
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: sha256
checksum32: 3C4B1FD055B5D25BDDA9DBFB1E37D87CC1C28CAA987335983B69FD9F8E43D3AB
checksum64: 3B471BBA5B19EF58B65460B1F0B71D27BCEEAA9218809F75DEDC98A6F7A426BE
checksum32: A9502E588C14EE56810C64392F4F696591A8B4E76197ABF1CCC1CB3228CEED8E
checksum64: CA494B558C8A8885BEB4DED633B11B6F34A6B903EDA725D156EDB15F8F07A5AD

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.json
Expand Up @@ -4,5 +4,5 @@
"8": "8.11.4",
"9": "9.11.1",
"10": "10.14.1",
"11": "11.2.0"
"11": "11.4.0"
}
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.nuspec
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs.install</id>
<title>Node JS (Install)</title>
<version>10.14.1</version>
<version>11.4.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand Down
6 changes: 3 additions & 3 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Expand Up @@ -2,8 +2,8 @@

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$filePath32 = "$toolsPath\node-v10.14.1-x86.msi"
$filePath64 = "$toolsPath\node-v10.14.1-x64.msi"
$filePath32 = "$toolsPath\node-v11.4.0-x86.msi"
$filePath64 = "$toolsPath\node-v11.4.0-x64.msi"
$installFile = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $filePath64 }
else { Write-Host "Installing 32 bit version"; $filePath32 }
Expand All @@ -13,7 +13,7 @@ $packageArgs = @{
FileType = 'msi'
SoftwareName = 'Node.js'
File = $installFile
SilentArgs = '/quiet ADDLOCAL=ALL REMOVE=NodeEtwSupport,NodePerfCtrSupport'
SilentArgs = '/quiet ADDLOCAL=ALL REMOVE=NodeEtwSupport'
ValidExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
Expand Down
2 changes: 1 addition & 1 deletion automatic/nodejs/nodejs.json
Expand Up @@ -4,5 +4,5 @@
"8": "8.11.4",
"9": "9.11.1",
"10": "10.14.1",
"11": "11.2.0"
"11": "11.4.0"
}
4 changes: 2 additions & 2 deletions automatic/nodejs/nodejs.nuspec
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>6.15.1</version>
<version>11.4.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand All @@ -28,7 +28,7 @@ While this package now provides both **Current** and **LTS** releases of Node.js
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@ba5adf020e09cd0e51107206ef3ec390035a6e90/icons/nodejs.png</iconUrl>
<dependencies>
<dependency id="nodejs.install" version="[6.15.1]" />
<dependency id="nodejs.install" version="[11.4.0]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit 5c23b3e

Please sign in to comment.