mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Tue Sep 10 20:33:38 CEST 2024
This commit is contained in:
@@ -760,7 +760,7 @@ function to_check(arch, app_name)
|
||||
remote_version = remote_version:gsub(com[app_name].remote_version_str_replace, "")
|
||||
end
|
||||
local has_update = compare_versions(local_version:match("[^v]+"), "<", remote_version:match("[^v]+"))
|
||||
|
||||
--[[
|
||||
if not has_update then
|
||||
return {
|
||||
code = 0,
|
||||
@@ -768,7 +768,7 @@ function to_check(arch, app_name)
|
||||
remote_version = remote_version
|
||||
}
|
||||
end
|
||||
|
||||
]]
|
||||
local asset = {}
|
||||
for _, v in ipairs(json.assets) do
|
||||
if v.name and v.name:match(match_file_name) then
|
||||
@@ -789,7 +789,7 @@ function to_check(arch, app_name)
|
||||
|
||||
return {
|
||||
code = 0,
|
||||
has_update = true,
|
||||
has_update = has_update,
|
||||
local_version = local_version,
|
||||
remote_version = remote_version,
|
||||
html_url = json.html_url,
|
||||
|
||||
Reference in New Issue
Block a user