mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
draft of windows installer
This commit is contained in:
10
node/node.bat
Normal file
10
node/node.bat
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user