made install packages and fixed spm del err
This commit is contained in:
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)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--:Minify:--
|
||||
local kernel=...
|
||||
if kernel.arch~="oc" then
|
||||
kernel.deny("opencomputers/01_devices.kmod")
|
||||
kernel.deny("opencomputers/13_devraw.kmod")
|
||||
kernel.deny("opencomputers/22_http.kmod")
|
||||
kernel.deny("opencomputers/25_tty.kmod")
|
||||
kernel.deny("opencomputers/26_keyboards.kmod")
|
||||
kernel.deny("opencomputers/30_daemon.kmod")
|
||||
kernel.deny("opencomputers/36_scheduler.kmod")
|
||||
end
|
||||
Reference in new issue
Block a user