branding och namechange
This commit is contained in:
@@ -61,7 +61,7 @@ function Install-VcRuntime {
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "JMK RB RaceController - Windows 11 setup" -ForegroundColor White
|
||||
Write-Host "RC RaceCore - Windows 11 setup" -ForegroundColor White
|
||||
Write-Host "Project: $ProjectRoot"
|
||||
|
||||
$nodeMajor = Get-NodeMajor
|
||||
@@ -118,7 +118,7 @@ if ($OpenFirewall) {
|
||||
Write-Warning "Firewall rules require an Administrator PowerShell. Setup continues without them."
|
||||
} else {
|
||||
foreach ($port in @(8081, 9000, 9001, 9002, 9003)) {
|
||||
$ruleName = "JMK RB RaceController TCP $port"
|
||||
$ruleName = "RC RaceCore TCP $port"
|
||||
if (-not (Get-NetFirewallRule -DisplayName $ruleName -ErrorAction SilentlyContinue)) {
|
||||
New-NetFirewallRule -DisplayName $ruleName -Direction Inbound -Protocol TCP -LocalPort $port -Action Allow | Out-Null
|
||||
}
|
||||
@@ -128,10 +128,10 @@ if ($OpenFirewall) {
|
||||
}
|
||||
|
||||
if ($StartServer) {
|
||||
Write-Step "Restarting RaceController after installation"
|
||||
Write-Step "Restarting RC RaceCore after installation"
|
||||
& $npmCommand restart
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "RaceController did not restart (exit code $LASTEXITCODE)."
|
||||
throw "RC RaceCore did not restart (exit code $LASTEXITCODE)."
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user