We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7f5e4 commit fba182aCopy full SHA for fba182a
1 file changed
ui/xui/update.cc
@@ -87,6 +87,19 @@ void AutoUpdateWindow::Draw()
87
ImGui::Text("%s", status_msg[updater.get_status()]);
88
}
89
90
+ if (updater.is_update_available()) {
91
+ ImGui::Dummy(ImVec2(0.0f, ImGui::GetStyle().WindowPadding.y));
92
+
93
+ ImGui::Text("Current version: %s", xemu_version);
94
+ ImGui::Text("Latest version: %s", updater.get_release_version().c_str());
95
96
+ ImGui::Dummy(ImVec2(0.0f, ImGui::GetStyle().ItemSpacing.y));
97
98
+ if (ImGui::SmallButton("Release notes...")) {
99
+ SDL_OpenURL(updater.get_release_url().c_str());
100
+ }
101
102
103
if (updater.is_updating()) {
104
ImGui::Dummy(ImVec2(0.0f, ImGui::GetStyle().ItemSpacing.y));
105
ImGui::ProgressBar(updater.get_update_progress_percentage()/100.0f,
0 commit comments