Class UpdateDownloadCommand


public class UpdateDownloadCommand extends AbstractAsyncCommand
Downloads available update to staging directory.
  • Constructor Details

    • UpdateDownloadCommand

      public UpdateDownloadCommand()
  • Method Details

    • runBootstrapInstall

      @Nonnull public static CompletableFuture<Void> runBootstrapInstall(@Nonnull CommandContext context)
      Runs the first-run bootstrap install: authenticates, fetches the current patchline manifest, downloads and extracts the payload into the cwd, then shuts the server down so the freshly-written launcher scripts can take over. Shared by /update download and /update setup in bootstrap mode so either command does the right thing.