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:
TheWahlolly
2025-05-19 20:16:11 +03:00
parent 05752fee85
commit 3f15c41132
6 changed files with 49 additions and 17 deletions
+4
View File
@@ -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. ")