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

Commit

Permalink
Launcher update to 20120500
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukes-dev committed Dec 7, 2020
1 parent f548312 commit 99670d3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LNCR_EXE=RHWSL.exe

DLR=curl
DLR_FLAGS=-L
LNCR_URL=https://github.com/yuk7/wsldl/releases/download/20100500/Launcher.exe
LNCR_URL=https://github.com/yuk7/wsldl/releases/download/20120500/Launcher.exe

all: $(OUT_ZIP)

Expand Down Expand Up @@ -37,7 +37,7 @@ rootfs: base.tar

base.tar:
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
docker run --name rhwsl registry.access.redhat.com/ubi8/ubi:8.2-347 /bin/bash -c "dnf update -y; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker run --name rhwsl registry.access.redhat.com/ubi8/ubi:8.3-199 /bin/bash -c "dnf update -y; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker export --output=base.tar rhwsl
docker rm -f rhwsl

Expand All @@ -49,4 +49,4 @@ clean:
-rm rootfs.tar.gz
-sudo rm -r rootfs
-rm base.tar
-docker rmi registry.access.redhat.com/ubi8/ubi:8.2-347
-docker rmi registry.access.redhat.com/ubi8/ubi:8.3-199
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,14 @@ Usage :
- `--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]
Expand All @@ -85,6 +88,36 @@ Usage :
- Print this usage message.
```

#### Just Run exe
```cmd
>RHWSL.exe
[root@PC-NAME user]#
```

#### Run with command line
```cmd
>RHWSL.exe run uname -r
4.4.0-43-Microsoft
```

#### Run with command line with path translation
```cmd
>RHWSL.exe runp echo C:\Windows\System32\cmd.exe
/mnt/c/Windows/System32/cmd.exe
```

#### Change Default User(id command required)
```cmd
>RHWSL.exe config --default-user user
>RHWSL.exe
[user@PC-NAME dir]$
```

#### Set "Windows Terminal" as default terminal
```cmd
>RHWSL.exe config --default-term wt
```

#### How to uninstall instance
```dos
Expand Down

0 comments on commit 99670d3

Please sign in to comment.