Skip to content

Commit

Permalink
AU: 1 updated - nodejs.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 3, 2018
1 parent a56f952 commit f0e909a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions automatic/nodejs.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://nodejs.org/download/release/latest-v6.x/node-v6.12.3-x86.msi>
64-Bit: <https://nodejs.org/download/release/latest-v6.x/node-v6.12.3-x64.msi>
32-Bit: <https://nodejs.org/dist/v8.9.4/node-v8.9.4-x86.msi>
64-Bit: <https://nodejs.org/dist/v8.9.4/node-v8.9.4-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: 0A34C4FC524703592CBB6C7FB88A5A199FE5D1DE5D052EB6CE32CCB020A56A63
checksum64: 217FB0CE8B8FAF24B06DE1CB588B2C534555174B0438ACB8B80D0D654E1F051F
checksum32: F9442188C2F66D167A0AC610DEE6D16E226BA28CA93F9569E0276268EB8F85DC
checksum64: 547689DA69BACADFEE619D208702B73698D14297BD5FEF5D80656897989E91B6

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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"4.8": "4.8.7",
"6.11": "6.11.5",
"8.9": "8.9.3",
"8.9": "8.9.4",
"9.0": "9.0.0",
"6.12": "6.12.3",
"9.1": "9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs.install</id>
<title>Node JS (Install)</title>
<version>6.12.3</version>
<version>8.9.4</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand Down
4 changes: 2 additions & 2 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

$filePath32 = "$toolsPath\node-v6.12.3-x86.msi"
$filePath64 = "$toolsPath\node-v6.12.3-x64.msi"
$filePath32 = "$toolsPath\node-v8.9.4-x86.msi"
$filePath64 = "$toolsPath\node-v8.9.4-x64.msi"
$installFile = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $filePath64 }
else { Write-Host "Installing 32 bit version"; $filePath32 }
Expand Down

0 comments on commit f0e909a

Please sign in to comment.