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 Community committed Apr 5, 2022
1 parent f9d2318 commit d7111f1
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/dist/v17.8.0/node-v17.8.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v17.8.0/node-v17.8.0-x64.msi>
32-Bit: <https://nodejs.org/download/release/latest-v12.x/node-v12.22.12-x86.msi>
64-Bit: <https://nodejs.org/download/release/latest-v12.x/node-v12.22.12-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: AB3C4CBDD494B44C50B4D4ACCC187DBC5CE64060E9BDC5243AB93C473045D2F8
checksum64: 5F78DC477560B4FAF32AFCB5F51946D8B9497C0AF076C45129F556CD061E8BE2
checksum32: 68A5F1198CF76B85CA9EB8819C1E3FA670AF6440534F59D920D267EA3CC0F402
checksum64: 76102997F9084E1FAA544693AD1DAEEF68394D46AE7E363AD8DF1FA86896133F

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 @@ -5,7 +5,7 @@
"9": "9.11.2",
"10": "10.24.1",
"11": "11.15.0",
"12": "12.22.11",
"12": "12.22.12",
"5": "5.12.0",
"7": "7.10.1",
"13": "13.14.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>17.8.0</version>
<version>12.22.12</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey-community, 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-v17.8.0-x86.msi"
$filePath64 = "$toolsPath\node-v17.8.0-x64.msi"
$filePath32 = "$toolsPath\node-v12.22.12-x86.msi"
$filePath64 = "$toolsPath\node-v12.22.12-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 d7111f1

Please sign in to comment.