提交 33aaaa02 编写于 作者: J João Moreno

push code-wsl.sh

上级 3c7b3f4f
#!/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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册