Skip to content

Documentation

Jacob edited this page Sep 1, 2023 · 1 revision

OWNERNAME

checker.OWNERNAME

OWNERNAME 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.

REPONAME

checker.REPONAME

REPONAME is a variable which must be set to use the application. It determines the repo, so the HTTP calls can be made correctly.

LatestVersionTag();

checker.LatestVersionTag();

Returns the latest version from the tag.

CheckForUpdates

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)

GetVersionPart

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.

Clone this wiki locally