2024-08-18 00:34:13 +00:00
|
|
|
-- keycardOS "bootloader", has no access to basalt
|
|
|
|
-- intended for checking for updates, and automatically updating basalt if it is missing
|
|
|
|
local utils = require("utils.lua")
|
|
|
|
local updater = require("updater.lua")
|
|
|
|
local ui = require("ui.lua")
|
2024-08-17 21:29:47 +00:00
|
|
|
|
2024-08-18 01:34:08 +00:00
|
|
|
local main = {}
|
2024-08-17 21:29:47 +00:00
|
|
|
|
2024-08-18 00:34:13 +00:00
|
|
|
|
|
|
|
KEYPADOS_VERSION = "3.0"
|
|
|
|
|
2024-08-18 01:34:08 +00:00
|
|
|
function main.Main()
|
2024-08-18 00:34:13 +00:00
|
|
|
utils.MonPrint(0.5)
|
2024-08-18 01:36:42 +00:00
|
|
|
updater.GetBasalt()
|
2024-08-18 00:34:13 +00:00
|
|
|
utils.MonPrint("keypadOS v" .. KEYPADOS_VERSION)
|
|
|
|
utils.MonPrint(1)
|
|
|
|
ui.InitUi()
|
2024-08-17 21:29:47 +00:00
|
|
|
end
|
|
|
|
|
2024-08-18 00:34:13 +00:00
|
|
|
|
2024-08-18 01:34:08 +00:00
|
|
|
return main
|
2024-08-18 00:34:13 +00:00
|
|
|
|