Merge pull request #609 from MihailRis/add-network-tests

Add network tests
This commit is contained in:
MihailRis 2025-09-14 16:04:16 +03:00 • committed by GitHub
commit ee7ae3b9f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 93 additions and 16 deletions

View file

@ -13,9 +13,9 @@ end
function refresh()
document.list:clear()
local available = pack.get_available()
local infos = pack.get_info(available)
for _, name in ipairs(available) do
local allpacks = table.merge(pack.get_available(), pack.get_installed())
local infos = pack.get_info(allpacks)
for _, name in ipairs(allpacks) do
local info = infos[name]
local scripts_dir = info.path.."/scripts/app"
if not file.exists(scripts_dir) then