Hearthstone firewall switcher is a simple application which helps you block and restore Hearthstone's access to internet with a single button press -- this gives you more time to think and do stuff in tavern.
- Download zip archive from releases page.
- Extract
HSFirewall
directory wherever you want. - Done! Open
HSFirewall.exe
located in app directory. - Optionally create desktop link to executable.
- Open program and select path to Hearthstone executable
(by default
C:\Program Files (x86)\Hearthstone\Hearthstone.exe
).
- A few seconds before fight, press green button, it should become red.
- After ~5 seconds, press button again and game should reconnect you back to the tavern.
This program works by maintaining Windows Defender firewall rule through netsh advfirewall firewall
commands.
- Create virtual environment and install necessary libs from
requirements.txt
. - Build using command
pyinstaller --noconfirm --uac-admin --noconsole --name HSFirewall main.py