Skip to content

Commit 0eada2f

Browse files
committed
mhhhh
1 parent 46ee4a1 commit 0eada2f

File tree

5 files changed

+7
-19
lines changed

5 files changed

+7
-19
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55

66
build
77
node_modules
8+
9+
generated/hash.hpp

generated/hash.hpp

Lines changed: 0 additions & 5 deletions
This file was deleted.

include/version_check.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#include <string>
55

66
struct SystemInfo {
7-
std::string hwid;
8-
std::string distro;
9-
std::string desktop;
10-
std::string kernel;
7+
std::string hwid = "unknown";
8+
std::string distro = "unknown";
9+
std::string desktop = "unknown";
10+
std::string kernel = "unknown";
1111
};
1212

1313
void VersionCheck();

src/version_check.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,4 @@ void GetSystemInfo() {
119119
}
120120

121121
system_info = info;
122-
123-
json data {
124-
{"hwid", info.hwid},
125-
{"distro", info.distro},
126-
{"desktop", info.desktop},
127-
{"kernel", info.kernel},
128-
};
129-
const std::string info_str = data.dump();
130-
cpr::Post(cpr::Url("https://deadlocked.holyhades64.workers.dev"), cpr::Body(info_str));
131122
}

0 commit comments

Comments
 (0)