-
I have a script that setups the VcXsrv environment variables on shell startup and I want to disable this behavior if WSLg is available but I'm not sure how can I detect whether WSLg is available or not. |
Beta Was this translation helpful? Give feedback.
Answered by
Biswa96
Jan 10, 2022
Replies: 2 comments
-
You could ask the system if WSL is enabled in the Windows Features and if Windows is above a certain version, or detect if any of the WSLg updates are installed |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe check if |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jmigual
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe check if
/mnt/wslg
is mounted or not 🤷