-
public class Updater
-
-
Method Summary
Modifier and Type Method Description static booleanisOutdated(String component, String version, String newVersion)Compares two SemVer-style versions to determine whether a component is outdated static voidupdateAliucord(Context ctx)Replaces the local Aliucord version with the latest from Github static booleanisUpdaterDisabled()Determines whether the updater is disabled static booleanusingDexFromStorage()Determines whether the Aliucord dex is being loaded from storage -
-
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 pluginversion- The local version of the pluginnewVersion- 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
-
-
-
-