Application update V 1.0.51

π§ 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.app
inelectron-builder.yml
to reflect the correct application identifier. - Eliminated all usage of
electron-log
for 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
downloadPackage
function 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.cfg
now 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
electronAPI
and 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.