Skip to content

Sample/reference launcher app for WSL distro Microsoft Store packages.

License

Notifications You must be signed in to change notification settings

zacharyrs/WSL-Arch

 
 

Repository files navigation

arch WSL

This is a fork of the reference WSL image builder, configured for my ideal archlinux setup - with WSL2 and Genie!

Getting Started

  1. Set up a signing certificate, easiest via the New-SelfSignedCertificate command. For example:

    New-SelfSignedCertificate -Type Custom -Subject "CN=Common Name, O=Organisation, L=Somewhere, C=Country" -KeyUsage DigitalSignature -FriendlyName "Friendly Name" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
  2. Run sudo get_rootfs.sh on an archlinux host to get install.tar.gz, this must be copied to ./x64/install.tar.gz.

    Note the archlinux host must have the necessary dependencies:

    • python-markdown
    • arch-install-scripts
  3. Run build.bat to get the appx package. You may specify built.bat rel to get a release build.

  4. Install the package appx package. For example, via powershell:

    AppPackages\arch\arch_1.0.4.0_x64_Test\Add-AppDevPackage.ps1

    Note: It seems that powershell core does not like this script.

About

Sample/reference launcher app for WSL distro Microsoft Store packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 53.5%
  • Shell 31.7%
  • Batchfile 12.5%
  • C 2.3%