mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
Проверка версий зависимостей
Добавил проверку версий установленных зависимостей паков.
This commit is contained in:
parent
a46aafa562
commit
5994371145
7 changed files with 33 additions and 4 deletions
|
|
@ -114,7 +114,8 @@ static int l_pack_get_info(
|
|||
default:
|
||||
throw std::runtime_error("");
|
||||
}
|
||||
lua::pushfstring(L, "%s%s", prefix.c_str(), dpack.id.c_str());
|
||||
|
||||
lua::pushfstring(L, "%s%s@%s", prefix.c_str(), dpack.id.c_str(), dpack.verison.c_str());
|
||||
lua::rawseti(L, i + 1);
|
||||
}
|
||||
lua::setfield(L, "dependencies");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue