From fa544111ca077260d1a9ae270f053082ba334cde Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 27 Apr 2020 03:24:10 +0000 Subject: [PATCH] draft of windows installer --- node/node.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 node/node.bat diff --git a/node/node.bat b/node/node.bat new file mode 100644 index 0000000..6e3aaf8 --- /dev/null +++ b/node/node.bat @@ -0,0 +1,10 @@ +mkdir %userprofile%\.local +mkdir %userprofile%\.local\opt + +pushd %userprofile%\.local\opt + powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://nodejs.org/dist/v12.16.2/node-v12.16.2-win-x64.zip -OutFile node-v12.16.2-win-x64.zip + tar xf node-v12.16.2-win-x64.zip + move node-v12.16.2-win-x64 node-v12.16.2 +popd + +pathman add %userprofile%\.local\opt\node-v12.16.2\bin -- 2.25.1