Update downr1n.sh

This commit is contained in:
Edwin Nuñez 2023-10-16 17:32:40 -04:00 committed by GitHub
parent 140b8a8e69
commit ca725ac8c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -510,10 +510,10 @@ if [ "$cmd_not_found" = "1" ]; then
fi fi
# Check for pyimg4 # Check for pyimg4
if ! python3 -c 'import pkgutil; exit(not pkgutil.find_loader("lzss") and not pkgutil.find_loader("pyliblzfse") and not pkgutil.find_loader("pyimg4"))'; then if ! python3 -c 'import pkgutil; exit(not pkgutil.find_loader("lzss") and not pkgutil.find_loader("pyimg4"))'; then
echo '[-] One or more required modules are not installed. Press any key to install them, or press ctrl + c to cancel' echo '[-] One or more required modules are not installed. Press any key to install them, or press ctrl + c to cancel'
read -n 1 -s read -n 1 -s
python3 -m pip install fastapi aiohttp ujson wikitextparser uvicorn pyimg4 pyliblzfse lzss python3 -m pip install fastapi aiohttp ujson wikitextparser uvicorn pyimg4 pyliblzfse lzss -U
fi fi
# Check if futurerestore exists # Check if futurerestore exists