wsaosc

command module
v0.0.0-...-f8d0f20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2016 License: GPL-3.0 Imports: 23 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL