Added X forwarding for WSL
This commit is contained in:
1 parent
fa5b1a42d0
commit
86ccd065a2
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if uname -r | grep WSL > /dev/null; then
|
||||
DISPLAY=$(ip route | awk '/^default/{print $3; exit}'):0
|
||||
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
export DISPLAY
|
||||
fi
|
||||
Reference in new issue
Block a user