This commit is contained in:
Gvidas Juknevičius 2024-08-25 23:36:03 +03:00
parent 28ceac8643
commit 2a8932a19f
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB

View File

@ -2,12 +2,14 @@
-- intended for checking for updates, and automatically updating basalt if it is missing -- intended for checking for updates, and automatically updating basalt if it is missing
local utils = require("utils.lua") local utils = require("utils.lua")
local updater = require("updater.lua") local updater = require("updater.lua")
local main = {} local mod = {}
KEYPADOS_VERSION = "4.0" KEYPADOS_VERSION = "4.0"
function main.Main() --- @class BootloaderLibs
---@param blibs BootloaderLibs
function mod.main(blibs)
mod.blibs = blibs;
utils.MonReset(0.5) utils.MonReset(0.5)
updater.GetBasalt() updater.GetBasalt()
utils.MonPrint("keypadOS v" .. KEYPADOS_VERSION) utils.MonPrint("keypadOS v" .. KEYPADOS_VERSION)
@ -16,5 +18,5 @@ function main.Main()
end end
return main return mod;