commit a58613e78bbe31e14b3ee327c4645dda81494c57 Author: Esteban Date: Thu Sep 10 21:48:45 2026 +0200 feat: initial release of public updater manifest for Erythrite 1.21.11 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7cfd02b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +*.log +node_modules/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..75af426 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Erythrite Updater Public + +Référentiel public de distribution des mises à jour pour le launcher officiel et le client Minecraft **1.21.11** du serveur Erythrite Dark RP. + +## Structure du Manifest (`updater-manifest.json`) + +Le fichier `updater-manifest.json` est interrogé au lancement du client : + +- `launcherVersion` : version actuelle distribuée de l'exécutable launcher. +- `minecraftVersion` : version cible Minecraft (**1.21.11** uniquement). +- `downloads` : liens de téléchargement directs des installateurs multi-plateformes (Mac .dmg, Windows .exe, Linux .AppImage / .deb). +- `packages` : liste des mods Fabric, configurations et packs de ressources requis pour la synchronisation en jeu. + +## Vérification locale + +```bash +node check-update.js +``` diff --git a/check-update.js b/check-update.js new file mode 100644 index 0000000..db347b0 --- /dev/null +++ b/check-update.js @@ -0,0 +1,19 @@ +const fs = require('fs'); +const path = require('path'); + +const manifestPath = path.join(__dirname, 'updater-manifest.json'); + +try { + const content = fs.readFileSync(manifestPath, 'utf8'); + const manifest = JSON.parse(content); + + console.log('--- Erythrite Updater Manifest Check ---'); + console.log('Launcher Version :', manifest.launcherVersion); + console.log('Minecraft Version:', manifest.minecraftVersion); + console.log('Target Server :', `${manifest.server.host}:${manifest.server.port}`); + console.log('Required Mods :', manifest.packages.mods.length); + console.log('Status : OK'); +} catch (err) { + console.error('Erreur lors de la lecture du manifest :', err.message); + process.exit(1); +} diff --git a/updater-manifest.json b/updater-manifest.json new file mode 100644 index 0000000..70fc3fc --- /dev/null +++ b/updater-manifest.json @@ -0,0 +1,79 @@ +{ + "launcherVersion": "1.0.0", + "launcherName": "Erythrite Launcher", + "minecraftVersion": "1.21.11", + "minLauncherVersion": "1.0.0", + "mandatory": false, + "changelog": "Version officielle Erythrite 1.21.11 - Optimisations du vocal de proximité et synchronisation automatique.", + "downloads": { + "mac_arm64": "https://git.eldorianet.work/esteban/publicupdatererythrite/releases/download/v1.0.0/Erythrite-Launcher-1.0.0-mac-arm64.dmg", + "mac_x64": "https://git.eldorianet.work/esteban/publicupdatererythrite/releases/download/v1.0.0/Erythrite-Launcher-1.0.0-mac-x64.dmg", + "win_x64": "https://git.eldorianet.work/esteban/publicupdatererythrite/releases/download/v1.0.0/Erythrite-Launcher-Setup-1.0.0-win-x64.exe", + "linux_appimage": "https://git.eldorianet.work/esteban/publicupdatererythrite/releases/download/v1.0.0/Erythrite-Launcher-1.0.0-linux-x64.AppImage", + "linux_deb": "https://git.eldorianet.work/esteban/publicupdatererythrite/releases/download/v1.0.0/Erythrite-Launcher-1.0.0-linux-x64.deb" + }, + "server": { + "name": "Erythrite Dark RP", + "host": "play.erythrite.fr", + "port": 25565, + "version": "1.21.11" + }, + "client": { + "javaVersion": 21, + "loader": "Fabric 1.21.11", + "minRamMb": 4096, + "recommendedRamMb": 6144 + }, + "packages": { + "mods": [ + { + "id": "fabric-api", + "file": "fabric-api-1.21.11.jar", + "version": "0.100.0+1.21.11", + "required": true + }, + { + "id": "sodium", + "file": "sodium-fabric-1.21.11.jar", + "version": "0.5.11+mc1.21.11", + "required": true + }, + { + "id": "iris", + "file": "iris-fabric-1.21.11.jar", + "version": "1.7.0+mc1.21.11", + "required": true + }, + { + "id": "voicechat", + "file": "voicechat-fabric-1.21.11-2.5.18.jar", + "version": "2.5.18", + "required": true + }, + { + "id": "erythrite-core", + "file": "erythrite-rp-core-1.21.11.jar", + "version": "2.4.0", + "required": true + }, + { + "id": "erythrite-vehicles", + "file": "erythrite-vehicles-1.21.11.jar", + "version": "1.2.0", + "required": true + } + ], + "configs": [ + { + "path": "config/voicechat/voicechat-client.properties", + "required": true + } + ], + "resourcepacks": [ + { + "file": "Erythrite-RP-Textures-1.21.11.zip", + "required": true + } + ] + } +}