imgui.ini configuration file could not be generated (#182)

This commit is contained in:
daobashun authored and GitHub committed 2025-04-13 17:03:10 +00:00
1 parent cdf1cfef18
commit 3fa9052f0f
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ namespace YimMenu
{
auto& IO = ImGui::GetIO();
auto file_path = std::filesystem::path(std::getenv("appdata")) / "YimMenuV2" / "imgui.ini";
std::string path = file_path.string();
static auto path = file_path.string();
IO.IniFilename = path.c_str();
IO.LogFilename = NULL;
ImFontConfig FontCfg{};