#5 WSL support

Open
opened 9 months ago by Styris · 0 comments
Styris commented 9 months ago
Owner

Previously present in the older batch (.cmd) script, this functionality needs to be redone in C#.

This includes enabling WSL with DismApi, detecting if a distro is installed, downloading distrod, and installing and configuring a distro.

It should be able to download distro from either a permalink (like from aka.ms), or from a Microsoft Store link. Previously the latter was done using store.rg-adguard.net (Possible C# implementation), however it would be ideal to do it without store.rg, as that is not totally reliable, and can have Cloudflare DDoS protection active at certain times, which blocks API requests.

Possibly this could be done with winget, similar to how FluentStore does it.

Fetching the download links from something like links.txt is optional, but allows for updating links without making a new release. Make sure the latest Ubuntu WSL version is included.

This page has some useful information, including more download links:
https://learn.microsoft.com/en-us/windows/wsl/install-manual

Previously present in the older batch (`.cmd`) script, this functionality needs to be redone in C#. This includes enabling WSL with DismApi, detecting if a distro is installed, downloading distrod, and installing and configuring a distro. It should be able to download distro from either a permalink (like from `aka.ms`), or from a Microsoft Store link. Previously the latter was done using store.rg-adguard.net ([Possible C# implementation](https://github.com/Fiz-Victor/Windows-Store-Downloader)), however it would be ideal to do it without store.rg, as that is not totally reliable, and can have Cloudflare DDoS protection active at certain times, which blocks API requests. Possibly this could be done with winget, similar to how [FluentStore](https://github.com/yoshiask/FluentStore) does it. Fetching the download links from something like [links.txt](https://git.ameliorated.info/Styris/amecs/src/branch/master/links.txt) is optional, but allows for updating links without making a new release. Make sure the latest Ubuntu WSL version is included. This page has some useful information, including more download links: https://learn.microsoft.com/en-us/windows/wsl/install-manual
Styris added the
enhancement
label 9 months ago
Styris added this to the Kanban project 9 months ago
Styris self-assigned this 9 months ago
Xyueta was assigned by Styris 9 months ago
he3als was assigned by Styris 9 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.