showCachedUpdateMessage static method
void
showCachedUpdateMessage()
Check if we have a cached update message to show This is synchronous and fast - used when we skip the network check
Implementation
static void showCachedUpdateMessage() {
try {
final cache = _loadCache();
if (cache == null) return;
final latestVersion = cache['latestVersion'] as String?;
if (latestVersion == null) return;
if (_isNewerVersion(latestVersion, ULinkVersion.version)) {
_printUpdateMessage(latestVersion);
}
} catch (e) {
// Fail silently
}
}