20 Commits

Author SHA1 Message Date
a606c8095d passed to Production 2026-02-02 05:10:00 +01:00
b33779e77d Added a lot
-  Self contained runtime
  -  Translated french to english
  -  Fixed java path and url
2026-02-01 20:15:54 +01:00
8444698e2a Update Program.cs 2026-01-31 02:30:49 +01:00
70e86fa36b Fixed mini mistakes 2026-01-30 05:16:04 +01:00
eb5d29af89 Refactored package own dep 2026-01-30 03:36:39 +01:00
28f18b9971 Update LentiaLauncher.csproj 2026-01-27 03:36:21 +01:00
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
a5a53803bf Update .gitignore 2026-01-27 02:13:21 +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
31fbf19189 Update Window.cs 2026-01-25 19:53:53 +01:00
d84abfb141 Remove unused resources folder and update icon path
Deleted icon.ico and logo.png from the resources folder and updated the project file to reference the icon in src/resources instead. Also removed the resources folder from the output copy list.
2026-01-25 19:52:17 +01:00
ee1e241e8e Improve HttpHelper body handling and error reporting
HttpHelper.FetchAsync now supports HttpContent as a body parameter, allowing for more flexible request content. In MojangAPI.UploadSkinAsync, error messages now include the response body for better debugging.
2026-01-25 19:50:59 +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
26e78a82c0 Add game frame UI with play button and styling
Introduced a new 'game' frame in logged.html with a title and play button. Added corresponding CSS for layout and button styling in logged.css. Updated JS to show the game frame by default.
2026-01-24 23:50:28 +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
2e2b126df8 Add profile cosmetics section and username change UI
Introduces a cosmetics section in the profile with articles for username, capes, and skin. Adds UI for changing username, including input and button, and updates related CSS for styling. JS now shows the profile frame on initialization.
2026-01-23 19:08:17 +01:00
b3827576da first commit 2026-01-23 15:55:56 +01:00