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 Nov 4, 2022
1 parent af025f0 commit 2fc22fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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/download/release/latest-v9.x/node-v9.11.2-x86.msi>
64-Bit: <https://nodejs.org/download/release/latest-v9.x/node-v9.11.2-x64.msi>
32-Bit: <https://nodejs.org/dist/v19.0.0/node-v19.0.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v19.0.0/node-v19.0.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: 82982C3322FB8C25EDA90ACBECB5A07B298DC6BF4D2DE8DB68C5BEAF11FD5B4D
checksum64: 6A9A125A01E377063B11578CD033163068B0F1A0F030907CBBC32DB3B9B18C1D
checksum32: 6F893000AB67CD0515525DB9121A7E024C136F16E6B52BB23FB3CE0FEFB32CC3
checksum64: BD60DF59C2DB97569F675BAAA437372EF9B45F87E73DE4983BDD4239207BF5AB

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
4 changes: 2 additions & 2 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Expand Up @@ -2,8 +2,8 @@

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

$filePath32 = "$toolsPath\node-v9.11.2-x86.msi"
$filePath64 = "$toolsPath\node-v9.11.2-x64.msi"
$filePath32 = "$toolsPath\node-v19.0.0-x86.msi"
$filePath64 = "$toolsPath\node-v19.0.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 2fc22fa

Please sign in to comment.