Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Windows #36

Open
wknapik opened this issue Nov 4, 2024 · 4 comments
Open

Add support for Windows #36

wknapik opened this issue Nov 4, 2024 · 4 comments

Comments

@wknapik
Copy link
Collaborator

wknapik commented Nov 4, 2024

The idea is to install the Windows version (as opposed to the Ubuntu version) of the browser via WSL, if that's possible.

@fmarier
Copy link
Member

fmarier commented Nov 4, 2024

cc @bsclifton who may know whether or not this would be possible (i.e. detecting WSL separately from Ubuntu, and then downloading the Windows .exe and starting it up).

@mihaiplesa
Copy link

Some package managers that could be useful here are Chocolatey, WinGet but also Microsoft Store.

@fmarier
Copy link
Member

fmarier commented Nov 26, 2024

According to https://superuser.com/a/1749811, we could simply look at the $WSL_DISTRO_NAME environment variable to detect WSL.

@bsclifton
Copy link
Member

bsclifton commented Nov 27, 2024

Sorry I missed this!

@fmarier here's what I do to detect that you are inside WSL2 in my humble dot files 😄
https://github.com/bsclifton/dotfiles/blob/e80bf1744ad54bc2616ba2518923d0aaf1180007/.bashrc#L86-L97

Works great in WSL2 instances
Image

NOTE: it does NOT evaluate to true when you run the git bash shell. That falls into the MinGW bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants