Merge pull request #595 from kotisoff/main

Проверка версий зависимостей
This commit is contained in:
MihailRis 2025-09-14 12:42:28 +03:00 • committed by GitHub
commit 94989ce292
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 284 additions and 5 deletions

View file

@ -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%s", prefix.c_str(), dpack.id.c_str(), dpack.op.c_str(), dpack.version.c_str());
lua::rawseti(L, i + 1);
}
lua::setfield(L, "dependencies");