(Work in Progress & Rewriting) | AOSC OS on Windows Subsystem for Linux | Installer
Go
Permalink
Failed to load latest commit information.
.appveyor.yml
.gitignore
AOSC OS.lnk
AOSC.ico
LICENSE Initial commit Oct 2, 2016
README.md
WSAOSC.exe.manifest
config.go
download.go add(download): Icon and Lnk creation Oct 27, 2016
glide.yaml
install.go
logview.go
lx.go repair two mispell Oct 25, 2016
main.go
prepare.go
sys.go repair two mispell Oct 25, 2016
ui.go UI text copyediting Nov 16, 2016

README.md

WSAOSC

Go Report Card Build status (WIP) AOSC OS on WSL

Feature

  • Auto-Detect System Capability
  • Auto-fix some of the options(like dev-mode)
  • Multi-thread downloading the rootfs tarball
  • Automatically using ubuntu rootfs as bootstrap to untar
  • Two-Click Install :)

Get Started

  1. Grab a WSAOSC binary from CI: WSAOSC.zip
  2. Enable Windows Subsystem for Linux and Developer Mode(restart needed)
  3. Double Click on WSAOSC.exe

Default Install (latest AOSC container tarball)

  1. Click Detect
  2. If everything goes well, Click Install
  3. After Installation, run bash.exe to start AOSC!

Customized Install

  1. Hold Alt while click Detect
  2. If everything goes well, continue to 6.
  3. Choose a tarball in the combo box or type third-party tarbal URL.
  4. Click Install and it will handle the rest.

Currently functioning tarball:

  • AOSC (default)
  • Archlinux, Deepin, Manjaro (you may need to do a unpack-and-repack stuff)

Compile Manually

under Unix or WSL
# Assume Golang environment is set up properly
curl https://glide.sh/get | sh # install glide package manager
go get github.com/akavel/rsrc # download rsrc to embed manifest
git clone https://github.com/AOSC-Dev/WSAOSC
cd WSAOSC
glide install
rsrc -manifest WSAOSC.exe.manifest -ico aosc.ico WSAOSC.syso
env GOOS=windows GOARCH=amd64 go build
under Windows (64 bit only)
  1. Set up go dev environment properly
  2. Download glide from glide.sh and put it into PATH
  3. git clone https://github.com/AOSC-Dev/WSAOSC.git # to %GOPATH%/src/github.com/AOSC-Dev/WSAOSC.git
  4. Enter the WSAOSC directory
  5. glide install
  6. rsrc -manifest WSAOSC.exe.manifest -ico AOSC.ico WSAOSC.syso
  7. go build

The compilation can go under Unix, but will produce Windows/amd64 binary only

License

GNU General Public License V3