Community AlphaAlpha MUADMINS
FILFilipino
Mag-sign in
Sa MuADMINSMag-ambagTumulong at makakuha ng Community PointsBuksanSa MuADMINSIskedyul ng mga eventBlood Castle, Devil Square, mga invasion sa isang lingguhang gridBuksan
← Lahat ng solusyon

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

Isinulat ng MuADMINS mula sa sourceNot verified

Tool: 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.
Nakatulong ba ito?

Naipit pa rin? Maghanap sa MuGPS Magtanong sa MU Assistant

MuADMINS Community Alpha: libre, gawa ng komunidad, at patuloy na dine-develop.