File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -153,8 +153,9 @@ if command -v node &> /dev/null; then
153153 echo " La version de Node.js ($node_version ) est inférieure à 14. Installation de la version requise..."
154154
155155 # Installer Node.js 14
156- curl -fsSL https://deb.nodesource.com/setup_14.x | -E bash -
157- apt-get install -y nodejs
156+ npm install -g n
157+ n 16.20.2
158+ node -v
158159
159160 # Vérifier à nouveau la version installée
160161 installed_version=$( node --version | cut -c 2-)
164165 echo " Node.js n'est pas installé. Installation de la version 14..."
165166
166167 # Installer Node.js 14
167- curl -fsSL https://deb.nodesource.com/setup_14.x | -E bash -
168- apt-get install -y nodejs
168+ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
169+ apt install -y nodejs
170+
169171
170172 # Vérifier la version installée
171173 installed_version=$( node --version | cut -c 2-)
Original file line number Diff line number Diff line change @@ -39,19 +39,25 @@ while true; do
3939 1)
4040 echo " Installation de Pterodactyl."
4141 # Ajoutez le code correspondant à l'Option 1 ici
42+ bash <( curl -s https://raw.githubusercontent.com/LucieFairePy/Pterodactyl-Installer-FR/main/install.sh)
4243 ;;
4344 2)
44- echo " Installation du thème Stellar."
45+ echo " Installation du thème Stellar v3.3 ."
4546 # Ajoutez le code correspondant à l'Option 1 ici
47+ bash <( curl -s https://raw.githubusercontent.com/OverStyleFR/AutoScriptBash/PterodactylThemeInstaller/.assets/initialisation.sh)
48+ bash <( curl -s https://raw.githubusercontent.com/OverStyleFR/AutoScriptBash/PterodactylThemeInstaller/.assets/theme_stellar.sh)
4649 ;;
4750 3)
48- echo " Installation du thème Enigma."
51+ echo " Installation du thème Enigma v3.9 ."
4952 # Ajoutez le code correspondant à l'Option 2 ici
53+ bash <( curl -s https://raw.githubusercontent.com/OverStyleFR/AutoScriptBash/PterodactylThemeInstaller/.assets/initialisation.sh)
54+ bash <( curl -s https://raw.githubusercontent.com/OverStyleFR/AutoScriptBash/PterodactylThemeInstaller/.assets/theme_enigma.sh)
5055 ;;
5156 4)
5257 echo " Ré-installer le thème de Pterodactyl. (RESET UI)"
5358 echo " N'affecte pas les machines déjà installer"
5459 # Ajoutez le code correspondant à l'Option 3 ici
60+ bash <( curl -s https://raw.githubusercontent.com/OverStyleFR/AutoScriptBash/PterodactylThemeInstaller/pterodactylpanelreinstall.sh)
5561 ;;
5662 5)
5763 echo " Au revoir !"
You can’t perform that action at this time.
0 commit comments