Files
NetBlock-Remote/README.md
2025-10-30 15:46:19 +01:00

5 lines
586 B
Markdown

Compile with `nuitka --standalone --windows-console-mode=disable [file].py` (`pip install nuitka`)<br><br>
`--standalone` will output a dist with one .exe and a bunch of .pyd & .dll files, which are required for the exe to run.<br>
there is also `--onefile` which will bundle everything into one singular .exe, but this exe gets flagged by windows defender, thus --standalone is preferred.<br><br>
Call client with `client.py --enable/--disable`, boolean flag reflects the state of the firewall rule.<br>
Server needs to be ran with admin privileges to be able to manage firewall rules.