remove debugging commands from add-firewall-rule.bat

This commit is contained in:
ReenigneArcher 2022-08-30 12:39:12 -04:00
parent 58ed5ba3ce
commit 2298cbbe20
No known key found for this signature in database
GPG Key ID: 0CA6A47B0630EA9B

View File

@ -6,10 +6,6 @@ for %%I in ("%~dp0\..") do set "ROOT_DIR=%%~fI"
set RULE_NAME=Sunshine
set PROGRAM_BIN="%ROOT_DIR%\sunshine.exe"
echo %PROGRAM_BIN%
pause
rem Add the rule
netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=tcp program=%PROGRAM_BIN% enable=yes
netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=udp program=%PROGRAM_BIN% enable=yes