File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,13 @@ echo n | tspawn s blog
6363tspawn w foo
6464
6565:: Set ExecutionPolicy
66+ for %%I in (tadpoled.exe) do if exist %%~$path:I set TADPOLED = %%~$path:I
67+ for %%I in (tadpole.exe) do if exist %%~$path:I set TADPOLE = %%~$path:I
68+
6669powershell -Command " Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
70+ powershell -command " New-NetFirewallRule -DisplayName MyAppAccess1 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLED% ' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" > nul 2 >& 1
71+ powershell -command " New-NetFirewallRule -DisplayName MyAppAccess2 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLE% ' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" > nul 2 >& 1
72+
6773
6874:: Test in debug mode
6975if not " %CMAKE% " == " " (
You can’t perform that action at this time.
0 commit comments