From bba2d9a1971b51a25a5ae3fc30a453e106e6b8a9 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 16 Dec 2024 23:37:09 +0000 Subject: versionkeeper: init version to 0.0.0 if no file is present --- src/managers/VersionKeeperManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/VersionKeeperManager.cpp b/src/managers/VersionKeeperManager.cpp index 89f7823d..1ef1040e 100644 --- a/src/managers/VersionKeeperManager.cpp +++ b/src/managers/VersionKeeperManager.cpp @@ -106,7 +106,7 @@ std::optional CVersionKeeperManager::getDataLastVersion(const std:: Debug::log(LOG, "CVersionKeeperManager: no hyprland last version file, creating."); writeVersionToVersionFile(dataRoot); - return HYPRLAND_VERSION; + return "0.0.0"; } std::ifstream file(lastVerFile); -- cgit v1.2.3