netsh advfirewall firewall add rule dir=in action=allow program=%1%\Tools\wget.exe name=\"MAMEHub WGet In\" enable=yes
netsh advfirewall firewall add rule dir=out action=allow program=%1%\Tools\wget.exe name=\"MAMEHub WGet Out\" enable=yes
netsh advfirewall firewall add rule dir=in action=allow program=%1%\MAMEHubRepo\Binaries\dist\MAMEHubClient.exe name=\"MAMEHub Client In\" enable=yes
netsh advfirewall firewall add rule dir=out action=allow program=%1%\MAMEHubRepo\Binaries\dist\MAMEHubClient.exe name=\"MAMEHub Client Out\" enable=yes
netsh advfirewall firewall add rule dir=in action=allow program=%1%\MAMEHubRepo\Binaries\dist\csume.exe name=\"MAMEHub Emulator In\" enable=yes
netsh advfirewall firewall add rule dir=out action=allow program=%1%\MAMEHubRepo\Binaries\dist\csume.exe name=\"MAMEHub Emulator Out\" enable=yes
netsh advfirewall firewall add rule dir=in action=allow program=%1%\MAMEHubRepo\Binaries\dist\csume64.exe name=\"MAMEHub Emulator64 In\" enable=yes
netsh advfirewall firewall add rule dir=out action=allow program=%1%\MAMEHubRepo\Binaries\dist\csume64.exe name=\"MAMEHub Emulator64 Out\" enable=yes
type nul >> %1%\firewallsetup.txt