Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
init readme
Browse files Browse the repository at this point in the history
  • Loading branch information
justforlxz committed Nov 20, 2020
0 parents commit 93baf03
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# DeepinWSL
Deepin on WSL (Windows 10 FCU or later)
base on [wsldl](https://github.com/yuk7/wsldl)

## 💻Requirements
* Windows 10 1709 Fall Creators Update 64bit or later.
* Windows Subsystem for Linux feature is enabled.

## 💾Install
#### 1. [Download](https://github.com/justforlxz/DeepinFS/releases/latest) installer zip

#### 2. Extract all files in zip file to same directory
Please extract to a folder that has full access permission.
For example 'Program Files' can not be used.

#### 3. Run Deepin.exe to Extract rootfs and Register to WSL
Exe filename is using to the instance name to register.
If you rename it you can register with a different name and have multiple installs.

## 📝How-to-Use(for Installed Instance)
#### exe Usage
```dos
Usage :
<no args>
- Open a new shell with your default settings.
run <command line>
- Run the given command line in that distro. Inherit current directory.
runp <command line (includes windows path)>
- Run the path translated command line in that distro.
config [setting [value]]
- `--default-user <user>`: Set the default user for this distro to <user>
- `--default-uid <uid>`: Set the default user uid for this distro to <uid>
- `--append-path <on|off>`: Switch of Append Windows PATH to $PATH
- `--mount-drive <on|off>`: Switch of Mount drives
- `--default-term <default|wt|flute>`: Set default terminal window
get [setting]
- `--default-uid`: Get the default user uid in this distro
- `--append-path`: Get on/off status of Append Windows PATH to $PATH
- `--mount-drive`: Get on/off status of Mount drives
- `--wsl-version`: Get WSL Version 1/2 for this distro
- `--default-term`: Get Default Terminal for this distro launcher
- `--lxguid`: Get WSL GUID key for this distro
backup [contents]
- `--tgz`: Output backup.tar.gz to the current directory using tar command
- `--reg`: Output settings registry file to the current directory
clean
- Uninstall the distro.
help
- Print this usage message.
```

## ⬆️Update
### 📁zip
#### 1. [Download](https://github.com/justforlxz/DeepinWSL/releases/latest) installer zip
#### 2. Extract .exe and rootfs.tar.gz from .zip and overwrites existing ones.

**Thanks to [yuk7](https://github.com/yuk7/)'s contribution, so that we can easily build our own WSL distribution.**

0 comments on commit 93baf03

Please sign in to comment.