mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-16 06:10:50 +00:00
- Updated `load_instance` function to handle FileNotFoundError gracefully. - Improved `Launcher` class to update UI elements with instance details after loading. - Added new properties `image` and `news_feed` to the `Instance` class. - Introduced JSON schema for instance configuration with new properties. - Created default instance configuration for "LCE-Hub neoLegacy". - Added scripts for downloading images and preparing packages. - Implemented new image handling class for better image management. - Updated versioning in `main.py` and `uv.lock` for release 0.26.4.11.
20 lines
1.3 KiB
JSON
20 lines
1.3 KiB
JSON
{
|
|
"$schema": "../schemas/lce_qrt_inst_config.json",
|
|
"name" : "default", // Name of the instance
|
|
"installation_path": ".lce", // Installation Path of the game files
|
|
"username" : "Steve", // Your Username
|
|
"exe_name" : "Minecraft.Client.exe", // The executable name
|
|
"archive_name" : "LCEWindows64.zip", // The archive to download
|
|
"url" : "https://github.com/MCLCE/MinecraftConsoles", // The ur/repo of the project
|
|
"image" : ":/assets/minecraft.png", // Image of the instance to show (right now it is only local, will be updated later)
|
|
"news_feed" : "https://github.com/MCLCE/MinecraftConsoles/commits/main/", // The webiste of the news feed to display in the news tabs
|
|
// InstanceSource.GITHUB_RELEASE : GitHub,
|
|
// InstanceSource.FORGEJO_RELEASE : Forgejo (like Codeberge),
|
|
// InstanceSource.REMOTE_GIT_SOURCE = Remote Git (not implemented yet)
|
|
// InstanceSource.LOCAL_INSTALLATION = Local Installation (not implemented yet)
|
|
// InstanceSource.LOCAL_SOURCE_CODE = Local Source Code (not implemented yet)
|
|
"instance_source" : "InstanceSource.GITHUB_RELEASE",
|
|
"instance_type": "InstanceType.CLIENT_VANILLA", // Type of the instance (not implemented/functionnal yet)
|
|
"version" : "nightly" // version/tag of the release
|
|
}
|