Skip to main content

VersionCheck

Checks latest github release version vs the current resource version

Parameters

  • resourceName: The name of the resource for printing purposes
  • githubRepo: This is the actual repo to check must be in 'username/repo' format
  • downloadFromGithub: if true will post link to the repo for updates if false will tell people to go to portal.cfx.re (defaults to true)

Usage

exports['FS-Lib']:VersionCheck('FS-Lib', 'fearlessnite345/fs-lib', false)