check futil version

This commit is contained in:
flux 2022-10-24 10:33:50 -07:00
parent cee41f01fd
commit 67463b76e2
No known key found for this signature in database
GPG key ID: 9333B27816848A15

View file

@ -2,10 +2,15 @@ local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
local S = minetest.get_translator(modname)
assert(
type(futil.version) == "number" and futil.version >= os.time({year = 2022, month = 10, day = 24}),
"please update futil"
)
book_runner = {
author = "flux",
license = "AGPL_v3",
version = {year = 2022, month = 9, day = 30},
version = os.time({year = 2022, month = 9, day = 30}),
fork = "flux",
modname = modname,