mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
impr: Make statistics format not suck a whole lot
This commit is contained in:
@@ -46,13 +46,25 @@ namespace hex::plugin::builtin {
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextUnformatted("hex.builtin.welcome.server_contact.data_collected.version"_lang);
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextUnformatted(IMHEX_VERSION);
|
||||
ImGui::TextFormatted("{}/{}@{}/{}",
|
||||
IMHEX_VERSION,
|
||||
#if defined (GIT_COMMIT_HASH_LONG) && defined (GIT_BRANCH)
|
||||
GIT_COMMIT_HASH_LONG, GIT_BRANCH,
|
||||
#else
|
||||
"??", "??",
|
||||
#endif
|
||||
ImHexApi::System::isPortableVersion() ? "Portable" : "Installed"
|
||||
);
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextUnformatted("hex.builtin.welcome.server_contact.data_collected.os"_lang);
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::TextWrapped("%s/%s/%s", ImHexApi::System::getOSName().c_str(), ImHexApi::System::getOSVersion().c_str(), ImHexApi::System::getArchitecture().c_str());
|
||||
ImGui::TextFormattedWrapped("{}/{}/{}/{}",
|
||||
ImHexApi::System::getOSName(),
|
||||
ImHexApi::System::getOSVersion(),
|
||||
ImHexApi::System::getArchitecture(),
|
||||
ImHexApi::System::getGPUVendor());
|
||||
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user