Update windows.md

This commit is contained in:
Jasin2069 2018-03-24 02:18:13 -04:00 committed by GitHub
parent 1fc4a8828b
commit 2d67cddfd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -12,21 +12,21 @@ ENiGMA½ will run on both 32bit and 64bit Windows. If you want to run 16bit door
1. Upgrade NPM : At this time node comes with NPM 5.6 preinstalled. To upgrade to a newer version now or in the future on windows follow this method. `*Run PowerShell as Administrator` 1. Upgrade NPM : At this time node comes with NPM 5.6 preinstalled. To upgrade to a newer version now or in the future on windows follow this method. `*Run PowerShell as Administrator`
`*Inital Install` `*Inital Install`
```Powershell ```Powershell
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade npm install -g npm-windows-upgrade
``` ```
`*Upgrade` `*Upgrade`
```Powershell ```Powershell
npm-windows-upgrade npm-windows-upgrade
``` ```
Note: Do not run `npm i -g npm`. Instead use `npm-windows-upgrade` to update npm going forward. Note: Do not run `npm i -g npm`. Instead use `npm-windows-upgrade` to update npm going forward.
Also if you run the NodeJS installer, it will replace the node version.: Also if you run the NodeJS installer, it will replace the node version.:
2. Install [windows-build-tools for npm](https://www.npmjs.com/package/windows-build-tools) 2. Install [windows-build-tools for npm](https://www.npmjs.com/package/windows-build-tools)
`*This will also install python 2.7` `*This will also install python 2.7`
```Powershell ```Powershell
npm install --global --production windows-build-tools npm install --global --production windows-build-tools
``` ```