Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Updater

Hierarchy

  • Updater

Index

Constructors

constructor

Properties

env

Methods

checkForUpdates

performUpdate

  • Performs the necessary updates according to the update info.

    Parameters

    • updateInfo: UpdateCheckResult

      The update check result to use when performing the update.

    Returns Promise<void>

Private updateAssets

  • updateAssets(): Promise<void>
  • Downloads the latest assets into the resources directory.

    Returns Promise<void>

Private updateClient

  • updateClient(): Promise<void>
  • Updates the packets.json file by downloaded the latest client and extracting the packet ids.

    Returns Promise<void>

Generated using TypeDoc