Package 

Class Updater

    • Method Summary

      Modifier and Type Method Description
      static boolean isOutdated(String component, String version, String newVersion) Compares two SemVer-style versions to determine whether a component is outdated
      static void updateAliucord(Context ctx) Replaces the local Aliucord version with the latest from Github
      static boolean isUpdaterDisabled() Determines whether the updater is disabled
      static boolean usingDexFromStorage() Determines whether the Aliucord dex is being loaded from storage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isOutdated

         static boolean isOutdated(String component, String version, String newVersion)

        Compares two SemVer-style versions to determine whether a component is outdated

        Parameters:
        component - The name of the plugin
        version - The local version of the plugin
        newVersion - The latest version of the plugin
      • updateAliucord

         static void updateAliucord(Context ctx)

        Replaces the local Aliucord version with the latest from Github

        Parameters:
        ctx - Context
      • isUpdaterDisabled

         static boolean isUpdaterDisabled()

        Determines whether the updater is disabled

      • usingDexFromStorage

         static boolean usingDexFromStorage()

        Determines whether the Aliucord dex is being loaded from storage