mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Run Minetest update checker on startup (#7629)
This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
f22d40975e
commit
a81259d19a
15 changed files with 210 additions and 3 deletions
|
@ -480,6 +480,8 @@ int ModApiUtil::l_get_version(lua_State *L)
|
|||
lua_setfield(L, table, "hash");
|
||||
}
|
||||
|
||||
lua_pushboolean(L, DEVELOPMENT_BUILD);
|
||||
lua_setfield(L, table, "is_dev");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue