add: laucher, close #1

This commit is contained in:
Kuoi 2022-11-08 22:59:27 +08:00
parent c37224b56e
commit 116e5eae63
3 changed files with 8 additions and 5 deletions

BIN
BioArch.exe Normal file

Binary file not shown.

View file

@ -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

View file

@ -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