Only openSUSE Tumbleweed is supported

This commit is contained in:
Howard Wu 2023-03-14 22:46:25 +08:00
parent a3e152f9a5
commit 0afcaac81f
3 changed files with 5 additions and 4 deletions

View file

@ -11,13 +11,13 @@
| DistrOS | | | | |
|:-------:|-------------------------------------------------------------------------------------------------|-------------------|------------|-----------|
| Debian | `lzip wine winetricks patchelf e2fsprogs aria2 python3 python3-pip aria2 p7zip-full attr unzip` | `setools` | `whiptail` | `xz-utils` |
| SuSE | Same as above | `setools-console` | `dialog` | `xz` |
| openSUSE Tumbleweed | Same as above | `setools-console` | `dialog` | `xz` |
The following components need to be installed using `winetricks`: `msxml6`
The python3 library `requests` is used.
Python version ≥ 3.7.
Python version ≥ **3.7.2**
- Recommended Use
- Ubuntu (You can use [WSL2](https://apps.microsoft.com/store/search?publisher=Canonical%20Group%20Limited))
@ -26,7 +26,7 @@
Need to add `contrib` sources to the source list to install winetricks.
- OpenSUSE (You can use [WSL2](https://apps.microsoft.com/store/search?publisher=SUSE))
- openSUSE Tumbleweed (You can use [WSL2](https://apps.microsoft.com/store/detail/opensuse-tumbleweed/9MSSK2ZXXN11))
Ready to use right out of the box.

View file

@ -119,7 +119,7 @@ if [ -n "${NEED_INSTALL[*]}" ]; then
if ! ($SUDO "$PM" "${UPDATE_OPTION[@]}" && $SUDO "$PM" "${INSTALL_OPTION[@]}" "${NEED_INSTALL[@]}") then abort; fi
fi
fi
pip list --disable-pip-version-check | grep -E "^requests " >/dev/null 2>&1 || python3 -m pip install requests
python3 -m pip install -r requirements.txt -v
if [ ! -f /proc/sys/fs/binfmt_misc/WSLInterop ] || [ "$(id -u)" == "0" ] && which wine64 > /dev/null; then
winetricks list-installed | grep -E "^msxml6" >/dev/null 2>&1 || {

1
scripts/requirements.txt Normal file
View file

@ -0,0 +1 @@
requests