MozillaReality / fxr-cli

A command-line tool for installing and automating the Firefox Reality virtual-reality browser.
https://www.npmjs.com/package/fxr
Mozilla Public License 2.0
4 stars 3 forks source link

fxr launch doesn't work on windows. #22

Open caseyyee opened 5 years ago

caseyyee commented 5 years ago

fxr doesn't work in windows linux due to not being able to see the Go: image

seems that this due to a lack of USB support in WSL: https://github.com/Microsoft/WSL/issues/2195

device is seen in windows power shell though, so i decided to install fxr using just standard windows cli:

image

installing fxr in windows works, but I get an error when running fxr launch

image

Looking at some of the options in the WSL issue (ie running adb-server on windows, accessing over network)

caseyyee commented 5 years ago

OK update here, a dumb hack.

Need to run adb-server on windows, then from within WSL, you can see devices and run fxr-cli:

image

cvan commented 5 years ago

whoa, weird. thanks for filing and for investigating. not sure if it's the same error (yours looks a bit different), but it could be similar to this Windows permissions error documented in the adb wrapper package I'm using (android-platform-tools).

I have a local branch that I think fixes this. I'll comment in this issue and file a follow-up PR for you to test. in the meantime, I'll test on my Windows machine.

thanks for filing, @caseyyee!