-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Jacob edited this page Sep 1, 2023
·
1 revision
checker.OWNERNAMEOWNERNAME is a variable which must be set to use the application. It determines the owner of the repo so the HTTP calls can be made correctly.
checker.REPONAMEREPONAME is a variable which must be set to use the application. It determines the repo, so the HTTP calls can be made correctly.
checker.LatestVersionTag();Returns the latest version from the tag.
checker.CheckForUpdates(currentVersion);Returns true if there is a update and false if there is not a update. Takes string currentVersion (i.e v0.1.0, v1.6.5)
checker.GetVersionPart(part);Returns a part of the latest version (i.e. if latest version was v1.2.3 and input was 0 it would return 1, if it was 1 it would retunr 2, so on), takes int part from 0 - 2.
Copyright ChobbyCode 2023. MIT License