1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

add quiet switch to install.ps1

This commit is contained in:
IntelOrca
2015-12-23 16:56:05 +00:00
parent 578bf2e175
commit 590923475b

View File

@@ -2,7 +2,8 @@
# Script to install the latest dependencies for OpenRCT2
#########################################################
param (
[switch]$Force
[switch]$Force,
[switch]$Quiet
)
Write-Host "Installing OpenRCT2 development environment for Windows" -ForegroundColor Cyan
@@ -37,7 +38,7 @@ if ($currentLibsVersion -ge $libsVersion)
$libsPathExists = Test-Path $libsPath
if ($libsPathExists -and -not $updateLibs -and -not $Force)
{
if (Prompt-User "Dependencies already exists, reinstall?")
if (-not $Quiet -and (Prompt-User "Dependencies already exists, reinstall?"))
{
$updateLibs = $true
}