mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
push code-wsl.sh
This commit is contained in:
1 parent
3c7b3f4f5f
commit
33aaaa022a
1 file changed
+4
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
HOST_IP=$(powershell.exe -Command "& {(Get-NetIPAddress | Where-Object {\$_.InterfaceAlias -like '*WSL*' -and \$_.AddressFamily -eq 'IPv4'}).IPAddress}")
|
||||
DISPLAY="$HOST_IP:0" ./scripts/code.sh
|
||||
Reference in new issue
Block a user