Skip to content

Commit d7b7a4b

Browse files
committed
Bump wsldl to latest version
1 parent 9400cbb commit d7b7a4b

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ LNCR_EXE=Alpine.exe
33

44
DLR=curl
55
DLR_FLAGS=-L
6-
LNCR_ZIP_URL=https://github.com/yuk7/wsldl/releases/download/23051400/icons.zip
6+
LNCR_ZIP_URL=https://github.com/yuk7/wsldl/releases/download/25030400/icons.zip
77
LNCR_ZIP_EXE=Alpine.exe
88

99
all: $(OUT_ZIP)

README.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Exe filename is using the instance name to register. If you rename it you can re
5353
Usage :
5454
<no args>
5555
- Open a new shell with your default settings.
56+
Inherit current directory (with exception that %%USERPROFILE%% is changed to $HOME).
5657
5758
run <command line>
5859
- Run the given command line in that instance. Inherit current directory.
@@ -65,22 +66,24 @@ Usage :
6566
- `--default-uid <uid>`: Set the default user uid of this instance to <uid>.
6667
- `--append-path <true|false>`: Switch of Append Windows PATH to $PATH
6768
- `--mount-drive <true|false>`: Switch of Mount drives
69+
- `--wsl-version <1|2>`: Set the WSL version of this instance to <1 or 2>
6870
- `--default-term <default|wt|flute>`: Set default type of terminal window.
6971
70-
get [setting]
72+
get [setting [value]]
7173
- `--default-uid`: Get the default user uid in this instance.
7274
- `--append-path`: Get true/false status of Append Windows PATH to $PATH.
7375
- `--mount-drive`: Get true/false status of Mount drives.
7476
- `--wsl-version`: Get the version os the WSL (1/2) of this instance.
7577
- `--default-term`: Get Default Terminal type of this instance launcher.
78+
- `--wt-profile-name`: Get Profile Name from Windows Terminal
7679
- `--lxguid`: Get WSL GUID key for this instance.
7780
78-
backup [contents]
79-
- `--tar`: Output backup.tar to the current directory.
80-
- `--reg`: Output settings registry file to the current directory
81-
- `--tgz`: Output backup.tar.gz to the current directory.
82-
- `--vhdx`: Output backup.ext4.vhdx to the current directory.
83-
- `--vhdxgz`: Output backup.ext4.vhdx.gz to the current directory.
81+
backup [file name]
82+
- `*.tar`: Output backup tar file.
83+
- `*.tar.gz`: Output backup tar.gz file.
84+
- `*.ext4.vhdx`: Output backup ext4.vhdx file. (WSL2 only)
85+
- `*.ext4.vhdx.gz`: Output backup ext4.vhdx.gz file. (WSL2 only)
86+
- `*.reg`: Output settings registry file.
8487
8588
clean
8689
- Uninstall that instance.
@@ -91,33 +94,33 @@ Usage :
9194

9295
#### Just Run exe
9396
```cmd
94-
>{InstanceName}.exe
97+
>Alpine.exe
9598
[root@PC-NAME user]#
9699
```
97100

98101
#### Run with command line
99102
```cmd
100-
>{InstanceName}.exe run uname -r
103+
>Alpine.exe run uname -r
101104
4.4.0-43-Microsoft
102105
```
103106

104107
#### Run with command line with path translation
105108
```cmd
106-
>{InstanceName}.exe runp echo C:\Windows\System32\cmd.exe
109+
>Alpine.exe runp echo C:\Windows\System32\cmd.exe
107110
/mnt/c/Windows/System32/cmd.exe
108111
```
109112

110113
#### Change Default User(id command required)
111114
```cmd
112-
>{InstanceName}.exe config --default-user user
115+
>Alpine.exe config --default-user user
113116
114-
>{InstanceName}.exe
117+
>Alpine.exe
115118
[user@PC-NAME dir]$
116119
```
117120

118121
#### Set "Windows Terminal" as default terminal
119122
```cmd
120-
>{InstanceName}.exe config --default-term wt
123+
>Alpine.exe config --default-term wt
121124
```
122125

123126
## How to setup
@@ -154,13 +157,13 @@ Execute the command below in a windows cmd terminal from the directory where Alp
154157
```
155158

156159
## How to backup instance
157-
export to backup.tar.gz
160+
export to backup.tar.gz (WSL1 or 2)
158161
```cmd
159-
>Alpine.exe backup --tgz
162+
>Alpine.exe backup backup.tar.gz
160163
```
161-
export to backup.ext4.vhdx.gz
164+
export to backup.ext4.vhdx.gz (WSL2 only)
162165
```cmd
163-
>Alpine.exe backup --vhdxgz
166+
>Alpine.exe backup backup.ext4.vhdx.gz
164167
```
165168

166169
## How to restore instance

0 commit comments

Comments
 (0)