diff --git a/Capy64/Assets/Lua/boot/00_package.lua b/Capy64/Assets/Lua/boot/autorun/00_package.lua similarity index 100% rename from Capy64/Assets/Lua/boot/00_package.lua rename to Capy64/Assets/Lua/boot/autorun/00_package.lua diff --git a/Capy64/Assets/Lua/boot/01_stdio.lua b/Capy64/Assets/Lua/boot/autorun/01_stdio.lua similarity index 100% rename from Capy64/Assets/Lua/boot/01_stdio.lua rename to Capy64/Assets/Lua/boot/autorun/01_stdio.lua diff --git a/Capy64/Assets/Lua/boot/02_http.lua b/Capy64/Assets/Lua/boot/autorun/02_http.lua similarity index 100% rename from Capy64/Assets/Lua/boot/02_http.lua rename to Capy64/Assets/Lua/boot/autorun/02_http.lua diff --git a/Capy64/Assets/Lua/boot/02_timer.lua b/Capy64/Assets/Lua/boot/autorun/02_timer.lua similarity index 100% rename from Capy64/Assets/Lua/boot/02_timer.lua rename to Capy64/Assets/Lua/boot/autorun/02_timer.lua diff --git a/Capy64/Assets/Lua/boot/99_shell.lua b/Capy64/Assets/Lua/boot/autorun/99_shell.lua similarity index 100% rename from Capy64/Assets/Lua/boot/99_shell.lua rename to Capy64/Assets/Lua/boot/autorun/99_shell.lua diff --git a/Capy64/Assets/Lua/boot/vendor.bmp b/Capy64/Assets/Lua/boot/vendor.bmp new file mode 100644 index 0000000..8d23632 Binary files /dev/null and b/Capy64/Assets/Lua/boot/vendor.bmp differ diff --git a/Capy64/Assets/Lua/init.lua b/Capy64/Assets/Lua/init.lua index 00bc02e..cd1a73a 100644 --- a/Capy64/Assets/Lua/init.lua +++ b/Capy64/Assets/Lua/init.lua @@ -20,7 +20,7 @@ local function showError(err) end function os.version() - return "CapyOS 0.0.1" + return "CapyOS 0.0.2" end term.setSize(51, 19) @@ -29,9 +29,9 @@ gpu.setScale(2) term.setPos(1, 1) term.write(_HOST) -local files = fs.list("/boot") +local files = fs.list("/boot/autorun") for k, v in ipairs(files) do - local func, err = loadfile("/boot/" .. v) + local func, err = loadfile("/boot/autorun/" .. v) if not func then showError(err) break