Fix read packed int not working (#128)

* Fix read packed int not working
Remove the scope setting packed int (because accidentally setting packed int in bulk will cause account failures and there is no need to set it in bulk)
Do not generate some configuration files at the root of the game

* In VS, the views are sorted by folder

* quash

* Change the path

* Reset the window style
This commit is contained in:
daobashun
2025-04-12 08:31:15 +08:00
committed by GitHub
parent a5a85947ae
commit 5791c1962e
2 changed files with 9 additions and 6 deletions
+8 -3
View File
@@ -1,5 +1,6 @@
#include "Menu.hpp"
#include "imgui.h"
#include "imgui_internal.h"
#include "core/commands/Commands.hpp"
#include "core/frontend/manager/UIManager.hpp"
#include "core/renderer/Renderer.hpp"
@@ -15,7 +16,7 @@
#include "submenus/Settings.hpp"
#include "submenus/Debug.hpp"
#include "submenus/World.hpp"
#include "core/filemgr/FileMgr.hpp"
namespace YimMenu
{
void Menu::Init()
@@ -110,7 +111,11 @@ namespace YimMenu
void Menu::SetupFonts()
{
auto& IO = ImGui::GetIO();
auto& IO = ImGui::GetIO();
auto file_path = std::filesystem::path(std::getenv("appdata")) / "YimMenuV2" / "imgui.ini";
std::string path = file_path.string();
IO.IniFilename = path.c_str();
IO.LogFilename = NULL;
ImFontConfig FontCfg{};
FontCfg.FontDataOwnedByAtlas = false;