feat: Enhance instance loading and UI updates

- 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.
This commit is contained in:
xgui4
2026-04-11 00:22:16 -04:00
parent adad7bea3b
commit 166f57f28f
29 changed files with 454 additions and 39 deletions

View File

@@ -14,8 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest]
# disabled temporaly due to a problem os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
@@ -35,7 +34,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install . nuitka zstandard
- name: Build with Nuitka
run: |
hatch run python -m nuitka --standalone --assume-yes-for-download --output-dir=dist src/main.py
@@ -46,11 +45,10 @@ jobs:
run: |
Compress-Archive -Path dist/main.dist/* -DestinationPath LCE-Qt-Launcher-Windows.zip
# also disabled temporaly
# - name: Package Linux build
# if: matrix.os == 'ubuntu-latest'
# run: |
# tar -czf LCE-Qt-Launcher-Linux.tar.gz -C dist/main.dist .
- name: Package Linux build
if: matrix.os == 'ubuntu-latest'
run: |
tar -czf LCE-Qt-Launcher-Linux.tar.gz -C dist/main.dist .
- name: Upload Nightly
uses: andelf/nightly-release@main
@@ -65,11 +63,11 @@ jobs:
> to the software, so a compilation from source is needed to test\n
> on MacOS\n
Experimental Build (Nightly) generated by GitHub Action.
The nighy build are experimental nuitka compilation
from the nighly version for the more stable build,
these are available via manual compilation on the master branch
Pre-compiled stable binary will be release when the first alpha release"
Experimental Build (Nightly) generated by GitHub Action. \n
The nighy build are experimental nuitka compilation \n
from the nighly version for the more stable build, \n
these are available via manual compilation on the master branch \n
Pre-compiled stable binary will be release when the first alpha release"
files: |
*.zip
*.tar.gz