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 Apr 8, 2020
1 parent 3d8ee35 commit ac4ce52
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
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/v13.12.0/node-v13.12.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v13.12.0/node-v13.12.0-x64.msi>
32-Bit: <https://nodejs.org/download/release/latest-v10.x/node-v10.20.0-x86.msi>
64-Bit: <https://nodejs.org/download/release/latest-v10.x/node-v10.20.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: 5B5DF4FC131E49D7EF23AD0C0FA21844724A57901F8381E60D625EE4437B5D91
checksum64: B136D990DAE482E80AA04A66DF5B9C2A788302CC949B7575AD6440D29E6E13ED
checksum32: CE39F71C7F6472B4D2038E86A5E90672DABBD8B976BB65EED917C1B33FD7A893
checksum64: 129D2C5CC05C5FA74AAB254BDBACACB37B5818A89D0B088DBEF90D36F3DE9C60

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
Expand Up @@ -3,7 +3,7 @@
"6": "6.17.1",
"8": "8.17.0",
"9": "9.11.2",
"10": "10.19.0",
"10": "10.20.0",
"11": "11.15.0",
"12": "12.16.1",
"5": "5.12.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>13.12.0</version>
<version>10.20.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
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-v13.12.0-x86.msi"
$filePath64 = "$toolsPath\node-v13.12.0-x64.msi"
$filePath32 = "$toolsPath\node-v10.20.0-x86.msi"
$filePath64 = "$toolsPath\node-v10.20.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'
SilentArgs = '/quiet ADDLOCAL=ALL REMOVE=NodeEtwSupport,NodePerfCtrSupport'
ValidExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
Expand Down
2 changes: 1 addition & 1 deletion automatic/nodejs/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"6": "6.17.1",
"8": "8.17.0",
"9": "9.11.2",
"10": "10.18.1",
"10": "10.20.0",
"11": "11.15.0",
"12": "12.16.1",
"5": "5.12.0",
Expand Down
4 changes: 2 additions & 2 deletions automatic/nodejs/nodejs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>13.12.0</version>
<version>10.20.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-community/chocolatey-coreteampackages@ba5adf020e09cd0e51107206ef3ec390035a6e90/icons/nodejs.png</iconUrl>
<dependencies>
<dependency id="nodejs.install" version="[13.12.0]" />
<dependency id="nodejs.install" version="[10.20.0]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit ac4ce52

Please sign in to comment.