v1.1.0 - Added resolution to fetch, fixed battery display in fetch, fixed ag update and made it safer, fixed a bug in argentum.cfg.
This commit is contained in:
@@ -6,6 +6,7 @@ end
|
||||
local internet = component.internet
|
||||
local computer = require("computer")
|
||||
local fs = require("filesystem")
|
||||
local gpu = component.gpu
|
||||
local installLocation
|
||||
local drives = {}
|
||||
for drive in fs.list("/mnt/") do
|
||||
@@ -27,6 +28,9 @@ else
|
||||
else
|
||||
installDrivesText = installDrivesText .. "\n " .. tostring(i) .. ". - " .. address:sub(1, 5) .. "..."
|
||||
end
|
||||
else
|
||||
table.remove(drives, i)
|
||||
i = i - 1
|
||||
end
|
||||
end
|
||||
io.write(installDrivesText .. "\nPlease select a drive by entering its number or \"q\" to quit. ")
|
||||
|
||||
Reference in New Issue
Block a user