From: AJ ONeal Date: Mon, 27 Apr 2020 03:24:10 +0000 (+0000) Subject: draft of windows installer X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=fa544111ca077260d1a9ae270f053082ba334cde;p=webi-installers%2F.git draft of windows installer --- 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