Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSConfig ScannerWgraj zip swoich plików: rates, dropy, spoty, limityOtwórzNa MuADMINSSpotkajmy się na DiscordziePoproś o pomoc, pokaż, nad czym pracujesz, i rozmawiaj o MU z innymi właścicielami serwerów.Otwórz
← Wszystkie rozwiązania

MuMain Launcher: how do I publish a client update so the players' launchers download it?

Napisane przez MuADMINS na podstawie źródłaNot verified

Narzędzie: MuMain, MuMain Launcher

  1. Once: set ManifestUrl, LinuxManifestUrl and LauncherManifestUrl in src/Launcher.Core/LauncherConfig.cs to your patch host (use a domain, not a raw IP) and build the launcher with ./build.sh publish <version>; the build machine only needs Docker.
  2. Build the client in the MuMain repo to get its release folder.
  3. Make the manifest over it: ./build.sh manifest --input /path/to/client/build. It writes version.json; the version defaults to today's date, or set --version.
  4. Upload the contents of the client folder, version.json included, to the web folder that also holds launcher.json.
  5. Launchers compare each file's hash and download only what changed. config.ini and logs are never listed, and the launcher never deletes files.
  6. For a new launcher version run ./build.sh publish <version> and upload out/launcher/; launchers replace themselves on the next start.
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.