|
|
@ -109,7 +109,7 @@ local function readFromFile(fNum) |
|
|
|
end |
|
|
|
if not fs.exists(fs.path(path)) then |
|
|
|
fs.makeDirectory(fs.path(path)) |
|
|
|
end/o |
|
|
|
end |
|
|
|
if not fs.exists(path) then |
|
|
|
return { -1 } |
|
|
|
end |
|
|
@ -213,7 +213,7 @@ local function printPackages(tPacks) |
|
|
|
end |
|
|
|
term.clear() |
|
|
|
local xRes, yRes = gpu.getResolution() |
|
|
|
print("--SPM Package list--") |
|
|
|
print("--SPM {ENV} Package list--") |
|
|
|
local xCur, yCur = term.getCursor() |
|
|
|
for _, j in ipairs(tPacks) do |
|
|
|
term.write(j .. "\n") |
|
|
@ -223,7 +223,7 @@ local function printPackages(tPacks) |
|
|
|
local event = event.pull("key_down") |
|
|
|
if event then |
|
|
|
term.clear() |
|
|
|
print("--SPM Package list--") |
|
|
|
print("--SPM {ENV} Package list--") |
|
|
|
xCur, yCur = term.getCursor() |
|
|
|
end |
|
|
|
end |
|
|
|