mirror of
https://github.com/BioArchLinux/wsl.git
synced 2025-03-10 06:33:59 +00:00
add: laucher, close #1
This commit is contained in:
parent
c37224b56e
commit
116e5eae63
3 changed files with 8 additions and 5 deletions
BIN
BioArch.exe
Normal file
BIN
BioArch.exe
Normal file
Binary file not shown.
|
@ -6,12 +6,11 @@ Download [wsl tar file](https://repo.bioarchlinux.org/wsl) from [any mirror](htt
|
|||
|
||||
## Import to WSL
|
||||
|
||||
You have to enable wsl first. Specific a `StoragePath` and run the following command under the tar file directory.
|
||||
You have to enable wsl first.
|
||||
|
||||
```
|
||||
wsl --import BioArchLinux StoragePath .\bioarchlinux.tar
|
||||
wsl -d BioArchLinux
|
||||
```
|
||||
- decompress the tar file
|
||||
- click the `BioArch.exe`
|
||||
|
||||
## Choose mirror
|
||||
|
||||
then you need to choose a mirror of archlinux and bioarchlinux
|
||||
|
|
|
@ -8,6 +8,10 @@ git pull
|
|||
|
||||
rm -rf /usr/share/lilac/Repo/wsl/*
|
||||
|
||||
mv bioarchlinux-$(date "+%Y%m%d").tar rootfs.tar
|
||||
gzip rootfs.tar
|
||||
tar czvf ./bioarchlinux-$(date "+%Y%m%d").tar --add-file=BioArch.exe --add-file=rootfs.tar.gz
|
||||
|
||||
for bin in $(pacman -Ql coreutils | grep 'sum$' | sed 's/\// /g' | awk '{print $4}')
|
||||
do
|
||||
$bin bioarchlinux-$(date "+%Y%m%d").tar > bioarchlinux-$(date "+%Y%m%d").tar.$bin
|
||||
|
|
Loading…
Add table
Reference in a new issue