draft of windows installer
authorAJ ONeal <aj@therootcompany.com>
Mon, 27 Apr 2020 03:24:10 +0000 (03:24 +0000)
committerAJ ONeal <aj@therootcompany.com>
Mon, 27 Apr 2020 03:24:10 +0000 (03:24 +0000)
node/node.bat [new file with mode: 0644]

diff --git a/node/node.bat b/node/node.bat
new file mode 100644 (file)
index 0000000..6e3aaf8
--- /dev/null
@@ -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