impr: Added GPU vendor and portable version flag to statistics
This commit is contained in:
parent
f703b15165
commit
6d1f639bc6
@ -80,9 +80,9 @@ namespace hex::init {
|
|||||||
|
|
||||||
// Make telemetry request
|
// Make telemetry request
|
||||||
nlohmann::json telemetry = {
|
nlohmann::json telemetry = {
|
||||||
{"uuid", uuid},
|
{ "uuid", uuid },
|
||||||
{"version", IMHEX_VERSION},
|
{ "version", fmt::format("{}/{}", IMHEX_VERSION, ImHexApi::System::isPortableVersion() ? "Portable" : "Installed") },
|
||||||
{"os", fmt::format("{}/{}/{}", ImHexApi::System::getOSName(), ImHexApi::System::getOSVersion(), ImHexApi::System::getArchitecture()) }
|
{ "os", fmt::format("{}/{}/{}/{}", ImHexApi::System::getOSName(), ImHexApi::System::getOSVersion(), ImHexApi::System::getArchitecture(), ImHexApi::System::getGPUVendor()) }
|
||||||
};
|
};
|
||||||
|
|
||||||
HttpRequest telemetryRequest("POST", ImHexApiURL + "/telemetry"s);
|
HttpRequest telemetryRequest("POST", ImHexApiURL + "/telemetry"s);
|
||||||
|
Loading…
Reference in New Issue
Block a user