Fixed calling PS script with two args.
This commit is contained in:
@@ -23,6 +23,12 @@ Param (
|
||||
|
||||
[string]$myName = "wDayzManager"
|
||||
[string]$myVersion = "v0.7"
|
||||
|
||||
if (($init -eq $true) -or ($update -eq $true)) {
|
||||
Write-Error "Only one parameter is accepted - either 'Init' or 'Update'."
|
||||
Exit
|
||||
}
|
||||
|
||||
[string]$steamScript = $myName + ".txt"
|
||||
[string]$iniFile = $myName + ".ini"
|
||||
if (-not (Test-Path -Path $iniFile)) {
|
||||
|
||||
Reference in New Issue
Block a user