xkevas24 / ZhengHuo

酒馆战棋整活拔线插件
33 stars 5 forks source link

netsh advfirewall firewall add same rule multiple times #2

Open chucklu opened 3 years ago

chucklu commented 3 years ago

netsh advfirewall firewall add rule name="ZhengHuo" dir=out program="C:\Program Files (x86)\Hearthstone\Hearthstone.exe" action=block enable=no The above command will be executed once the program start the first time.

You could verify it by netsh advfirewall firewall show rule name="ZhengHuo" You might delete the rule by netsh advfirewall firewall delete rule name="ZhengHuo"

xkevas24 commented 3 years ago

感谢