:3
This commit is contained in:
parent
28ceac8643
commit
2a8932a19f
12
src/main.lua
12
src/main.lua
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user