mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-20 11:56:31 +08:00
Update node.js on Linux/macOS
Qt WebEngine 6.6 need 14.19+ Pick-to: 6.6 Change-Id: Idf2d54fcdc55762cd9d8cfe5248858bd00afe89c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
@@ -7,12 +7,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
|
||||
# This script will install Nodejs
|
||||
|
||||
version="14.16.1"
|
||||
version="18.16.0"
|
||||
urlCache="http://ci-files01-hki.ci.qt.io/input/nodejs/node-v$version.pkg"
|
||||
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
|
||||
sha1="4720274971c40fe51b2c647060f77c45fb4949a7"
|
||||
sha256="156aa5b9580288fb0b3c6134eb8fac64e50745d78d33eebe9e29eb7ff87b8e1e"
|
||||
|
||||
DownloadURL $urlCache $urlOffcial $sha1 "/tmp/node-v$version.pkg"
|
||||
DownloadURL $urlCache $urlOffcial $sha256 "/tmp/node-v$version.pkg"
|
||||
sudo installer -pkg "/tmp/node-v$version.pkg" -target /
|
||||
|
||||
echo "Nodejs = $version" >> ~/versions.txt
|
||||
|
||||
Reference in New Issue
Block a user