Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Works on Windows Subsystem for Linux #22

Closed
bronson opened this issue Jan 23, 2019 · 5 comments
Closed

Works on Windows Subsystem for Linux #22

bronson opened this issue Jan 23, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@bronson
Copy link
Contributor

bronson commented Jan 23, 2019

A Debian guest running in WSL worked great. This script is really impressive.

To prepare, I only had to make VBoxManage.exe available as VBoxManage. I did it like this:

sudo apt-get dmg2img unzip wget
mkdir -p ~/bin
ln -s /mnt/c/Program\ Files/Oracle/VirtualBox/VBoxManage.exe ~/bin/VBoxManage
export PATH=~/bin:$PATH

If you think it's worth it, I could send a PR that prepares a WSL path similar to how it currently prepares a Cygwin path and calls VBoxManage.exe if VBoxManage is missing.

@bronson
Copy link
Contributor Author

bronson commented Jan 23, 2019

Oh, I should mention that sometimes I had to hit <space><enter> when it was asking "Press enter when something is ready". It ignored plain <enter>. Probably some WSL incompatibility.

@myspaghetti
Copy link
Owner

I have no experience with WSL but I believe Cygwin is more portable and WSL is only available for Windows 10, so I believe I'll stick with Cygwin unless there are other advantages to WSL.

@myspaghetti myspaghetti self-assigned this Jan 28, 2019
@myspaghetti myspaghetti added the enhancement New feature or request label Jan 28, 2019
@jonathanweinberg
Copy link
Contributor

I don't think @bronson is implying to get rid of the Cygwin method, but eventually, WSL will be very mainstream. Just an option to allow easier adoption/use.

@myspaghetti
Copy link
Owner

I'd gladly accept a pull request with an if statement that identifies running under WSL and adds VBoxManage to PATH, but I would like to keep everything under one working directory (no creating symlinks in ~/bin) and avoid elevating privileges (ask the user to manually install the packages).

@bronson
Copy link
Contributor Author

bronson commented Feb 1, 2019

Yes, I agree with all those points. If I can find some time to try to get iMessage going again, I'll put together a PR. (won't be the next few weeks tho!)

Closing since this is now a wishlist item.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants