mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-17 04:26:47 +08:00
[feat] display version info on startup
This commit is contained in:
@@ -966,6 +966,7 @@ int Render::DrawStreamWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int Render::Run() {
|
int Render::Run() {
|
||||||
|
LOG_INFO("CrossDesk version: {}", CROSSDESK_VERSION);
|
||||||
latest_version_info_ = CheckUpdate();
|
latest_version_info_ = CheckUpdate();
|
||||||
if (!latest_version_info_.empty() &&
|
if (!latest_version_info_.empty() &&
|
||||||
latest_version_info_.contains("version") &&
|
latest_version_info_.contains("version") &&
|
||||||
|
|||||||
Reference in New Issue
Block a user