Update VersionChecker.lua

This commit is contained in:
MrNewb committed 2025-07-30 21:34:46 -04:00
1 parent f42f853c81
commit 2d02e8b0df
1 file changed
+1 -3
+1 -3
View File
@@ -42,9 +42,7 @@ local function getDownloadUrl(repoPath, tebex, actualRepoPath)
return "https://portal.cfx.re/assets/granted-assets"
elseif actualRepoPath and actualRepoPath ~= false then
local repoUser, repoName = actualRepoPath:match("([^/]+)/([^/]+)")
if repoUser and repoName then
return ('https://github.com/%s/%s/releases/latest'):format(repoUser, repoName)
end
if repoUser and repoName then return ('https://github.com/%s/%s/releases/latest'):format(repoUser, repoName) end
end
return nil
end