updated kernel and main for consumer
This commit is contained in:
@@ -4,7 +4,7 @@ local data = kernel.addDriver("disk-driver")
|
|||||||
|
|
||||||
local function run()
|
local function run()
|
||||||
monitor.initialize()
|
monitor.initialize()
|
||||||
disk.initialize()
|
data.initialize()
|
||||||
|
|
||||||
monitor.writeLine("Starting system...")
|
monitor.writeLine("Starting system...")
|
||||||
monitor.writeLine("System started successfully!")
|
monitor.writeLine("System started successfully!")
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ local function addDriver(fileName)
|
|||||||
shell.execute("rm", fullFile)
|
shell.execute("rm", fullFile)
|
||||||
local baseRoute = "https://git.astrocore.space/root/nova-corp/raw/branch/main/"
|
local baseRoute = "https://git.astrocore.space/root/nova-corp/raw/branch/main/"
|
||||||
shell.execute("wget", baseRoute .. fullFile)
|
shell.execute("wget", baseRoute .. fullFile)
|
||||||
sleep(1)
|
sleep(5)
|
||||||
return require(fileName)
|
return require(fileName)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ local function addFolderDriver(folder, fileName)
|
|||||||
shell.execute("rm", fullFile)
|
shell.execute("rm", fullFile)
|
||||||
local baseRoute = "https://git.astrocore.space/root/nova-corp/raw/branch/main/"
|
local baseRoute = "https://git.astrocore.space/root/nova-corp/raw/branch/main/"
|
||||||
shell.execute("wget", baseRoute .. folder .. "/" .. fullFile)
|
shell.execute("wget", baseRoute .. folder .. "/" .. fullFile)
|
||||||
sleep(1)
|
sleep(5)
|
||||||
return require(fileName)
|
return require(fileName)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user