From 64892c81e9246e327451e0fc132ec520493368af Mon Sep 17 00:00:00 2001 From: Rahul-Sahani04 <110347707+Rahul-Sahani04@users.noreply.github.com> Date: Tue, 20 Jan 2026 11:52:36 +0530 Subject: [PATCH 01/10] Profile System & Mod Loading Fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a full profile system and fixed a few critical mod loading issues. What changed Profiles — Implemented proper profile management (create, switch, delete). Each profile now has its own isolated mod list. Mod Isolation — Fixed ModManager so mods are strictly scoped to the active profile. Browsing and installing only affects the selected profile. Critical Fix — Fixed a path bug where mods were being saved to ~/AppData/Local on macOS (Windows path) instead of ~/Library/Application Support. Mods now save to the correct location and load correctly in-game. Stability — Added an auto-sync step before every launch to make sure the physical mods folder always matches the active profile. UI — Added a profile selector dropdown and a profile management modal. --- .gitignore | 1 + GUI/index.html | 200 ++++++++----- GUI/js/launcher.js | 198 +++++++++++-- GUI/js/mods.js | 105 ++++--- GUI/js/ui.js | 102 ++++--- GUI/style.css | 462 ++++++++++++++++++++++++----- PR_DESCRIPTION.md | 15 + backend/core/config.js | 69 +++-- backend/core/paths.js | 36 ++- backend/managers/gameLauncher.js | 35 ++- backend/managers/modManager.js | 348 +++++++++++++--------- backend/managers/profileManager.js | 209 +++++++++++++ main.js | 137 ++++++--- preload.js | 16 +- 14 files changed, 1424 insertions(+), 509 deletions(-) create mode 100644 PR_DESCRIPTION.md create mode 100644 backend/managers/profileManager.js diff --git a/.gitignore b/.gitignore index 3a16ba9..cb2a975 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ dist/* node_modules/* package-lock.json +bun.lock diff --git a/GUI/index.html b/GUI/index.html index 10b33d3..db18cb6 100644 --- a/GUI/index.html +++ b/GUI/index.html @@ -1,25 +1,32 @@ +
-
+