mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Added telemetry about whether ImHex runs on a corporate machine
This commit is contained in:
@@ -75,7 +75,8 @@ namespace hex::plugin::builtin {
|
||||
{ "os", ImHexApi::System::getOSName() },
|
||||
{ "os_version", ImHexApi::System::getOSVersion() },
|
||||
{ "arch", ImHexApi::System::getArchitecture() },
|
||||
{ "gpu_vendor", ImHexApi::System::getGPUVendor() }
|
||||
{ "gpu_vendor", ImHexApi::System::getGPUVendor() },
|
||||
{ "corporate_env", ImHexApi::System::isCorporateEnvironment() }
|
||||
};
|
||||
|
||||
HttpRequest telemetryRequest("POST", ImHexApiURL + "/telemetry"s);
|
||||
|
||||
@@ -308,11 +308,12 @@ namespace hex::plugin::builtin {
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextUnformatted("hex.builtin.oobe.server_contact.data_collected.os"_lang);
|
||||
ImGui::TableNextColumn();
|
||||
ImGuiExt::TextFormattedWrapped("{}\n{}\n{}\n{}",
|
||||
ImGuiExt::TextFormattedWrapped("{}\n{}\n{}\n{}\nCorporate Environment: {}",
|
||||
ImHexApi::System::getOSName(),
|
||||
ImHexApi::System::getOSVersion(),
|
||||
ImHexApi::System::getArchitecture(),
|
||||
ImHexApi::System::getGPUVendor());
|
||||
ImHexApi::System::getGPUVendor(),
|
||||
ImHexApi::System::isCorporateEnvironment() ? "Yes" : "No");
|
||||
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user