Skip to content
Snippets Groups Projects
Commit 394096ad authored by Lais Frigerio's avatar Lais Frigerio
Browse files

SCRUM#87 - Get distro info windows

parent ef8ce67b
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -30,7 +30,7 @@ std::string get_date() {
char buffer[20];
time(&rawtime);
localtime_r(&rawtime, timeinfo);
localtime_r(&rawtime, timeinfo);
// YYYY-MM-DD
strftime(buffer, 20, "%Y-%m-%d", timeinfo);
......
......@@ -156,7 +156,7 @@ std::string get_distro() {
throw std::string("No release file found.");
#else
if (IsWindows10OrGreater())
return "Windows 10";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment