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
63
63
tspawn w foo
64
64
65
65
:: 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
+
66
69
powershell -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
+
67
73
68
74
:: Test in debug mode
69
75
if not " %CMAKE% " == " " (
You can’t perform that action at this time.
0 commit comments