8 Commits

Author SHA1 Message Date
78e86e0a18 Update Program.cs 2026-01-27 03:22:24 +01:00
79987fda6d Integrate AzuresPackager for renderer asset packaging
Added AzuresPackager as a dependency and MSBuild target to package wwwroot assets into root.dat with XOR encryption before build/run. Updated Program.cs to load UI assets from the packed root.dat using a custom scheme handler, replacing direct file access. This improves asset protection and streamlines deployment.
2026-01-27 03:22:04 +01:00
6f2e5f81a8 Add generic file sync and improve UI for game launch
Introduced GenericFilesService to fetch and validate required game files before launching. Updated launcher version to beta and added support for AuthlibInjector agent in launch options. Improved avatar rendering and button states in the UI, including pixelated avatar display and disabled state handling for logout during game launch.
2026-01-25 23:22:08 +01:00
15adb39115 Refactor HTTP requests to use HttpHelper utility
Introduced a new HttpHelper utility to centralize and standardize HTTP requests across the codebase, replacing direct usage of HttpClient. Updated authentication, asset, game, and Mojang API logic to use the new helper, improving maintainability and consistency. Also refactored game launch options for greater flexibility and configurability.
2026-01-25 18:54:11 +01:00
1ae8ee00db Add Minecraft game launch and asset management
Introduces core game logic for launching Minecraft, including asset, library, and Java runtime management. Adds Forge mod support, OS utilities, and file helpers. Updates frontend to handle game launch, log streaming, and UI feedback. Minor bugfixes and style improvements are also included.
2026-01-25 08:59:22 +01:00
d2ae3122c9 Add Discord OAuth2 login and refactor authentication
Implemented Discord OAuth2 authentication flow with a new Discord.cs handler and integrated it into Program.cs. Refactored authentication logic to use shared JsonSerializerOptions from LauncherConstants. Updated BashUtils with cross-platform URL opening, improved MojangAPI to use shared HttpClient, and enhanced frontend login and log handling in logged.js and login.js.
2026-01-24 23:35:02 +01:00
4ffe3b47c2 Add MojangAPI integration for skin and cape management
Introduces MojangAPI utility for handling skin uploads, cape management, and username changes via new backend endpoints. Updates Program.cs to support new IPC commands for skin selection, uploading, cape toggling, and username changes. Refactors frontend (logged.js, logged.html, logged.css) to provide UI for skin uploads, cape selection, and username changes, including new styles and blank cape asset. Refactors UserRecord to allow username mutation.
2026-01-24 17:11:59 +01:00
b3827576da first commit 2026-01-23 15:55:56 +01:00