Skip to content

Commit c1ca274

Browse files
committed
More setup fixes for Windows
- No longer uses BoxStarter, instead it is a plain PowerShell script - Force re-installation of dependencies - Can self-elevate when needed but in this case only PRODUCTION branch can be used - updated version of node - fixed to run on PowerShell v2 See #1429
1 parent 42a5b35 commit c1ca274

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup/native-script.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ write-host -BackgroundColor Black -ForegroundColor Yellow "Installing Google Chr
2121
cinst googlechrome --force --yes
2222

2323
write-host -BackgroundColor Black -ForegroundColor Yellow "Installing node.js"
24-
cinst nodejs.install -version 4.2.6 --force --yes
24+
cinst nodejs.install -version 4.3.0 --force --yes
2525

2626
write-host -BackgroundColor Black -ForegroundColor Yellow "Installing Java Development Kit"
2727
cinst jdk8 --force --yes
@@ -58,4 +58,5 @@ $myPath = [Environment]::GetEnvironmentVariable("PATH")
5858
npm install -g nativescript
5959

6060
write-host -BackgroundColor Black -ForegroundColor Yellow "This script has modified your environment. You need to log off and log back on for the changes to take effect."
61-
pause
61+
Write-Host "Press any key to continue..."
62+
[void][System.Console]::ReadKey($true)

0 commit comments

Comments
 (0)