mirror of
https://git.chinosk6.cn/chinosk/gkms-localify-dmm.git
synced 2026-02-04 09:04:53 +00:00
Add version display
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "GUII18n.hpp"
|
||||
#include "GakumasLocalify/config/Config.hpp"
|
||||
#include "resourceUpdate/resourceUpdate.hpp"
|
||||
#include "platformDefine.hpp"
|
||||
|
||||
extern void* SetResolution_orig;
|
||||
extern std::function<void()> g_reload_all_data;
|
||||
@@ -150,6 +151,7 @@ namespace GkmsGUILoop {
|
||||
using namespace GakumasLocal;
|
||||
|
||||
if (ImGui::Begin("Gakumas Plugin Config")) {
|
||||
ImGui::Text("Plugin Version: %s", PLUGIN_VERSION);
|
||||
ImGui::Text("Resource Version: %s", GkmsResourceUpdate::GetCurrentResourceVersion(true).c_str());
|
||||
|
||||
if (ImGui::Button("Reload Config And Translation Data")) {
|
||||
|
||||
Reference in New Issue
Block a user