From cc720a379942d4e194aa88c7896127d145475450 Mon Sep 17 00:00:00 2001 From: unfr Date: Sat, 27 Sep 2025 16:43:08 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20fichier=20CSS=20des=20checkboxes?= =?UTF-8?q?=20dans=20les=20scripts=20d'installation=20et=20mise=20=C3=A0?= =?UTF-8?q?=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Intégration dans le système de déploiement ### Scripts d'installation mis à jour - Ajout de checkboxes.css dans install.sh pour les nouvelles installations - Ajout de checkboxes.css dans update.sh pour les mises à jour automatiques - Correction de la faute de frappe "checkoxes" en "checkboxes" ### Gestion des déploiements - Le fichier CSS personnalisé est maintenant inclus dans le processus d'installation - Mise à jour automatique du fichier lors des updates - Téléchargement depuis le dépôt principal si manquant ## Améliorations du processus - Déploiement cohérent des styles personnalisés - Synchronisation automatique avec les nouvelles fonctionnalités - Maintenance simplifiée des installations existantes --- install.sh | 1 + update.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 2ef03fa..7660ba5 100644 --- a/install.sh +++ b/install.sh @@ -362,6 +362,7 @@ log "Vérification fichiers Node" [ -f "$AUTOPOST_DIR/server.js" ] || download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/server.js" "$AUTOPOST_DIR/server.js" [ -f "$AUTOPOST_DIR/db.js" ] || download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/db.js" "$AUTOPOST_DIR/db.js" [ -f "$AUTOPOST_DIR/public/autopost.js" ] || download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/public/autopost.js" "$AUTOPOST_DIR/public/autopost.js" +[ -f "$AUTOPOST_DIR/public/checkboxes.css" ] || download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/public/checkboxes.css" "$AUTOPOST_DIR/public/checkboxes.css" [ -f "$AUTOPOST_DIR/views/autopost.html" ] || download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/views/autopost.html" "$AUTOPOST_DIR/views/autopost.html" if [ ! -f "$AUTOPOST_DIR/config.js" ]; then download "https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/config.js" "$AUTOPOST_DIR/config.js" diff --git a/update.sh b/update.sh index a837019..199ff63 100644 --- a/update.sh +++ b/update.sh @@ -109,6 +109,7 @@ FILES["$AUTOPOST_DIR/common.sh"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/m FILES["$BIN_DIR/postauto"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/main/bin/postauto" FILES["$AUTOPOST_DIR/server.js"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/server.js" FILES["$AUTOPOST_DIR/public/autopost.js"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/public/autopost.js" +FILES["$AUTOPOST_DIR/public/checkboxes.css"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/public/checkboxes.css" FILES["$AUTOPOST_DIR/views/autopost.html"]="https://tig.unfr.pw/UNFR/postauto/raw/branch/main/autopost/views/autopost.html" log "Vérification/MAJ des fichiers…"