Hidden error messages.
Hidden error messages about copying missing mod's keys.
This commit is contained in:
@@ -170,15 +170,15 @@ if ($update) {
|
||||
}
|
||||
Write-Host
|
||||
|
||||
# Making symbolic links to mods
|
||||
# Making symbolic links to mods and copying mod's keys
|
||||
Write-Host "Making symbolic links to mods:"
|
||||
$clientMods | ForEach-Object {
|
||||
New-Item -ItemType SymbolicLink -Path "$($serverLocation)\$($_.Item1)" -Target "$($serverLocation)\steamapps\workshop\content\$($appidGame)\$($_.Item2)" -Force
|
||||
Copy-Item -Path "$($serverLocation)\$($_.Item1)\Keys\*.bikey" -Destination "$($serverLocation)\keys\" -Force
|
||||
Copy-Item -Path "$($serverLocation)\$($_.Item1)\Keys\*.bikey" -Destination "$($serverLocation)\keys\" -Force | Out-Null
|
||||
}
|
||||
$serverMods | ForEach-Object {
|
||||
New-Item -ItemType SymbolicLink -Path "$($serverLocation)\$($_.Item1)" -Target "$($serverLocation)\steamapps\workshop\content\$($appidGame)\$($_.Item2)" -Force
|
||||
Copy-Item -Path "$($serverLocation)\$($_.Item1)\Keys\*.bikey" -Destination "$($serverLocation)\keys\" -Force
|
||||
Copy-Item -Path "$($serverLocation)\$($_.Item1)\Keys\*.bikey" -Destination "$($serverLocation)\keys\" -Force | Out-Null
|
||||
}
|
||||
Start-Sleep -Seconds 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user