Server
CheckVersion
Compares the resource's version in fxmanifest.lua with the latest GitHub release and prints a line when it is outdated. It checks each resource once.
Parameters
resourcestring— optional. Defaults to the calling resource.repostring— optional.owner/nameor a GitHub URL. Defaults to the resource'srepositoryentry infxmanifest.lua.
Returns
boolean — true when the check was sent. The result prints later.
Example
Bridge.CheckVersion(GetCurrentResourceName(), 'my-org/my_resource')