mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 22:49:48 +01:00
versionkeeper: init version to 0.0.0 if no file is present
This commit is contained in:
parent
e340e9f431
commit
bba2d9a197
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue