diff options
author | Vaxry <[email protected]> | 2024-12-16 23:37:09 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-12-16 23:37:13 +0000 |
commit | bba2d9a1971b51a25a5ae3fc30a453e106e6b8a9 (patch) | |
tree | c48721492da85b02d1eac8acf774dadfe242cd34 | |
parent | e340e9f431c7f1792fd6bfea20eb2f71a59d511f (diff) | |
download | Hyprland-bba2d9a1971b51a25a5ae3fc30a453e106e6b8a9.tar.gz Hyprland-bba2d9a1971b51a25a5ae3fc30a453e106e6b8a9.zip |
versionkeeper: init version to 0.0.0 if no file is present
-rw-r--r-- | src/managers/VersionKeeperManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> 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); |