mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-12 11:39:57 +01:00
push code-wsl.sh
This commit is contained in:
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