VersionCheck
Checks latest github release version vs the current resource version
Parameters
resourceName
: The name of the resource for printing purposesgithubRepo
: This is the actual repo to check must be in'username/repo'
formatdownloadFromGithub
: 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
- Lua
- Javascript
exports['FS-Lib']:VersionCheck('FS-Lib', 'fearlessnite345/fs-lib', false)
exports['FS-Lib'].VersionCheck('FS-Lib', 'fearlessnite345/fs-lib', false)