1
0

Ajour du support des iso via bdinfo

This commit is contained in:
unfr
2025-08-07 15:30:15 +02:00
parent b5d303dea1
commit ab6695b128
6 changed files with 61 additions and 8 deletions

View File

@@ -266,6 +266,29 @@ else
LISTE_APPLIS+=("$BIN_DIR/7z")
fi
# Vérifier et installer BDInfo si manquant
if command -v BDInfo > /dev/null 2>&1; then
LISTE_APPLIS+=("BDInfo")
else
echo -e "${ROUGE}BDInfo est manquant. Installation en cours...${NORMAL}"
curl -L -o bdinfo_linux_v2.0.6.zip "https://github.com/dotnetcorecorner/BDInfo/releases/download/linux-2.0.6/bdinfo_linux_v2.0.6.zip"
unzip bdinfo_linux_v2.0.6.zip -d "$BIN_DIR"
chmod 777 "$BIN_DIR/BDInfo"
LISTE_APPLIS+=("$BIN_DIR/BDInfo")
fi
# Vérifier et installer BDInfo si manquant
if command -v BDInfoDataSubstractor > /dev/null 2>&1; then
LISTE_APPLIS+=("BDInfoDataSubstractor")
else
echo -e "${ROUGE}BDInfoDataSubstractor est manquant. Installation en cours...${NORMAL}"
curl -L -o bdinfodatasubstractor_linux_v2.0.6.zip "https://github.com/dotnetcorecorner/BDInfo/releases/download/linux-2.0.6/bdinfodatasubstractor_linux_v2.0.6.zip"
unzip bdinfodatasubstractor_linux_v2.0.6.zip -d "$BIN_DIR"
chmod 777 "$BIN_DIR/BDInfoDataSubstractor"
LISTE_APPLIS+=("$BIN_DIR/BDInfoDataSubstractor")
fi
#echo -e "${ROUGE}Merci d'aller lire le readme pour compresser vos anciens NZB${NORMAL}"
if [ $updated = "1" ]; then