diff --git a/BioArch.exe b/BioArch.exe new file mode 100644 index 0000000..7c124d0 Binary files /dev/null and b/BioArch.exe differ diff --git a/README.md b/README.md index 19ae081..4712ede 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/man_img.sh b/man_img.sh index 20ffc08..f272803 100755 --- a/man_img.sh +++ b/man_img.sh @@ -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