Fix service name in firewall configuration and installation scripts

This commit is contained in:
Din
2025-04-28 15:37:53 +08:00
parent a0b9f05ae3
commit 413360ece2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# PowerShell script to create a new inbound rule in Windows Firewall
$port = 5000
$ruleName = "ResourceMonitorService"
$ruleName = "ResourceMonitorServicePublish"
if (Get-NetFirewallRule -DisplayName $ruleName) {
Write-Host "Rule already exists, not creating a new one"
} else {