Make the Latest and installed version labels dynamic

This commit is contained in:
SoftFever
2026-07-17 16:25:10 +08:00
parent 9d9bb9cdbd
commit 6767ab5ae0
5 changed files with 55 additions and 8 deletions

View File

@@ -386,6 +386,8 @@ struct NetworkLibraryVersionInfo {
bool is_latest;
std::string warning;
bool is_discovered;
// Whether the versioned library file for this entry is present on disk.
bool is_installed = false;
static NetworkLibraryVersionInfo from_static(const NetworkLibraryVersion& v) {
return {