5 lines
		
	
	
		
			585 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			585 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 prefered.<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. |