mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 01:01:54 -07:00
versionkeeper: init version to 0.0.0 if no file is present
This commit is contained in:
@@ -106,7 +106,7 @@ std::optional<std::string> CVersionKeeperManager::getDataLastVersion(const std::
|
|||||||
Debug::log(LOG, "CVersionKeeperManager: no hyprland last version file, creating.");
|
Debug::log(LOG, "CVersionKeeperManager: no hyprland last version file, creating.");
|
||||||
writeVersionToVersionFile(dataRoot);
|
writeVersionToVersionFile(dataRoot);
|
||||||
|
|
||||||
return HYPRLAND_VERSION;
|
return "0.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ifstream file(lastVerFile);
|
std::ifstream file(lastVerFile);
|
||||||
|
Reference in New Issue
Block a user