made install packages and fixed spm del err

This commit is contained in:
Astronand committed 2026-10-06 14:23:16 -04:00
1 parent 8edf246e02
commit fbaafc7cff
51 files changed
+737 -49

No files matched your search

@@ -18,7 +18,13 @@ local function createDisk(id, hw)
if not hw.exists(path) or not hw.isDirectory(path) then
return nil, "not directory"
end
return hw.list(path)
local ret={}
for i,v in ipairs(hw.list(path)) do
if v:sub(-1)=="/" then
ret[i]=v:sub(1,#v-1)
else ret[i]=v end
end
return ret
end
function disk:fileExists(path)