mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
5 lines
220 B
Bash
Executable File
5 lines
220 B
Bash
Executable File
#!/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
|