branding och namechange

This commit is contained in:
larssand
2026-08-28 20:56:58 +02:00
parent 5cab3a0e17
commit 3cf68cf34a
23 changed files with 146 additions and 89 deletions

View File

@@ -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)."
}
}