mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-01 12:03:09 +00:00
remove debugging commands from add-firewall-rule.bat
This commit is contained in:
parent
58ed5ba3ce
commit
2298cbbe20
@ -6,10 +6,6 @@ for %%I in ("%~dp0\..") do set "ROOT_DIR=%%~fI"
|
|||||||
set RULE_NAME=Sunshine
|
set RULE_NAME=Sunshine
|
||||||
set PROGRAM_BIN="%ROOT_DIR%\sunshine.exe"
|
set PROGRAM_BIN="%ROOT_DIR%\sunshine.exe"
|
||||||
|
|
||||||
echo %PROGRAM_BIN%
|
|
||||||
|
|
||||||
pause
|
|
||||||
|
|
||||||
rem Add the rule
|
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=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
|
netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=udp program=%PROGRAM_BIN% enable=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user