mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-12-24 09:58:06 +11:00
11 lines
185 B
Lua
11 lines
185 B
Lua
|
local arg = ...
|
||
|
if not _DRIVE then
|
||
|
for d in component.list("filesystem") do
|
||
|
print(d)
|
||
|
end
|
||
|
else
|
||
|
local t = component.invoke(_DRIVE, "list", arg)
|
||
|
for i=1, #t do
|
||
|
print(t[i])
|
||
|
end
|
||
|
end
|