Update VersionChecker.lua
This commit is contained in:
1 parent
f42f853c81
commit
2d02e8b0df
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user