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

feat!: add support for WSL2 #71

Merged
merged 11 commits into from
Dec 14, 2020
Merged

feat!: add support for WSL2 #71

merged 11 commits into from
Dec 14, 2020

Conversation

malept
Copy link
Member

@malept malept commented Dec 10, 2020

Adds support for WSL2 while at the same time fixing all known issues with WSL1 support. Uses a new module, cross-spawn-windows-exe, to execute rcedit.exe correctly in any given environment (including WSL1/WSL2). It should be noted that the module itself is tested in CI with WSL1, so I decided not to add it here.

Since the new module requires Node 10, I updated any other (dev)Dependencies that also require Node 10.

BREAKING CHANGE: requires Node 10 (drops support for Node < 10).

Fixes #65.

Closes #66.

@malept malept requested a review from a team December 10, 2020 19:41
@malept malept merged commit 080feca into master Dec 14, 2020
@malept malept deleted the malept/feat/wsl2 branch December 14, 2020 16:48
@electron-bot
Copy link

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@andreineculau
Copy link
Contributor

Thanks! Haven't tested it yet but it looks sound to outsource that logic.

@malept
Copy link
Member Author

malept commented Dec 14, 2020

Thanks! Haven't tested it yet but it looks sound to outsource that logic.

Turns out the logic is also needed in electron-winstaller (although I can't use it in the Squirrel code itself), PR for that coming soon-ish

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

Successfully merging this pull request may close these issues.

Wrong path with WSL
3 participants