fix: base packs not scanned for app scripts
This commit is contained in:
parent
0957406b0b
commit
b815d72ba7
@ -13,9 +13,9 @@ end
|
|||||||
function refresh()
|
function refresh()
|
||||||
document.list:clear()
|
document.list:clear()
|
||||||
|
|
||||||
local available = pack.get_available()
|
local allpacks = table.merge(pack.get_available(), pack.get_installed())
|
||||||
local infos = pack.get_info(available)
|
local infos = pack.get_info(allpacks)
|
||||||
for _, name in ipairs(available) do
|
for _, name in ipairs(allpacks) do
|
||||||
local info = infos[name]
|
local info = infos[name]
|
||||||
local scripts_dir = info.path.."/scripts/app"
|
local scripts_dir = info.path.."/scripts/app"
|
||||||
if not file.exists(scripts_dir) then
|
if not file.exists(scripts_dir) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user