@echo off
fltmc >nul 2>&1 || (powershell -NoProfile -WindowStyle Hidden -Command "Start-Process cmd -ArgumentList '/c ""%~f0""' -Verb RunAs" && exit)

netsh advfirewall firewall delete rule name="Vcity" >nul 2>&1
netsh advfirewall firewall add rule name="Vcity" direction=in action=allow protocol=TCP localport=825 >nul 2>&1
netsh advfirewall firewall add rule name="Vcity" direction=in action=allow protocol=UDP localport=825 >nul 2>&1
netsh advfirewall firewall add rule name="Vcity" direction=out action=allow protocol=TCP localport=825 >nul 2>&1
netsh advfirewall firewall add rule name="Vcity" direction=out action=allow protocol=UDP localport=825 >nul 2>&1
