更新 wsl2.zsh

This commit is contained in:
2025-10-29 12:41:10 +08:00
parent 94d22ad9f1
commit e746853f46

View File

@@ -7,6 +7,6 @@ export NET_GATE="$(ip -c=never r | head -n1 | cut -d' ' -f3)"
# WSLG
if [[ -z $DISPLAY ]]; then
export DISPLAY="$NET_GATE:0.0"
fi
export LIBGL_ALWAYS_INDIRECT=true
export LIBGL_ALWAYS_SOFTWARE=true
fi