added feature for checking if a component is virtual, and updated apps argentum and boot to comply with Halyde v3

This commit is contained in:
Ponali
2025-09-14 16:28:15 +02:00
parent d3d5f21ab1
commit 8244f1590c
3 changed files with 29 additions and 16 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ if type(args[1])=="string" then
return
end
if not force then
if componentlib.additions[compID] then
if component.virtual.check(compID) then
return print("\x1b[91mThis component is virtual and cannot be booted from directly.\nID: "..compID)
end
local type = component.type(compID)
@@ -56,5 +56,5 @@ if type(args[1])=="string" then
end
computer.shutdown(true)
else
shell.run("help boot")
require("shell").run("help boot")
end