🔧 Core Improvements
- Split the main Electron process logic into separate modules for authentication, auto-updating, artifacts management, database operations, file management, firewall configuration, mod management, and window handling.
→ Improves maintainability and organization by isolating functionality into dedicated files. - Changed appId from
com.electron.app→htnetwork.appinelectron-builder.ymlto reflect the correct application identifier. - Eliminated all usage of
electron-logfor updater events and file logging. Update statuses are now only sent to the loading window.
📦 Package & Mod Management
- Added a call to savePackageLocation in the
downloadPackagefunction to persist downloaded package paths. - Logic added to remove any existing mod folder with the same name before extracting a new mod → prevents conflicts and ensures the latest version installs.
- Changed resource paths for vMenu Advanced and vMenu Starter to use
[htn-]directories instead of[vmenu-]. - Updated download URLs for vMenu packages in
PackagesPage.tsx. server.cfgnow automatically updates with the product key after package extraction.
🎨 UI / UX Updates
- Enhanced loading screen with more granular progress updates, improved progress bar styling, and animated feedback during authentication/setup.
- Switched IPC event handling to use
electronAPIand refactored loading animations. - Replaced plain version text with a styled badge (SVG icon, background, border, and hover effects).
- Adjusted blur intensity, border radius, logo size, and title styling for a refined look. Repositioned progress bar for better alignment.
🔒 Security
- Credentials are now stored in an encrypted binary file using AES-256-GCM instead of plain JSON.
→ Protects sensitive info (email, password, HWID).
→ Encryption keys are managed separately with helper functions for encoding/decoding.
📌 Version Bumps
- 1.0.45 → Introduced
[htn-]directory changes. - 1.0.46 → Updated package.json version + vMenu package download URLs.

