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 Nov 6, 2018
1 parent b7345ee commit ba90cd7
Show file tree
Hide file tree
Showing 4 changed files with 9 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/dist/v10.13.0/node-v10.13.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v10.13.0/node-v10.13.0-x64.msi>
32-Bit: <https://nodejs.org/dist/v11.1.0/node-v11.1.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v11.1.0/node-v11.1.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: 9F9FF8B4B4DCE9C52EE5CD777D444D008932A196254DB5BE48B954106B1BA096
checksum64: A4810C4198D358BDC789A22E52FD86CB49CB9F7585F62215C6B9D0797B55113A
checksum32: DD7B667FEF034618B7E67582EE55F3157AD4B5254AA7A42E6F289E98EF688595
checksum64: C710576F38196E952458EDE8EE4530F999808B29C969C080B72988C2AF782827

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
3 changes: 2 additions & 1 deletion automatic/nodejs.install/nodejs.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
"10.11": "10.11.0",
"10.12": "10.12.0",
"11.0": "11.0.0",
"10.13": "10.13.0"
"10.13": "10.13.0",
"11.1": "11.1.0"
}
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>10.13.0</version>
<version>11.1.0</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-v10.13.0-x86.msi"
$filePath64 = "$toolsPath\node-v10.13.0-x64.msi"
$filePath32 = "$toolsPath\node-v11.1.0-x86.msi"
$filePath64 = "$toolsPath\node-v11.1.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 Down

0 comments on commit ba90cd7

Please sign in to comment.