mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-18 02:30:44 +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.
7 lines
178 B
Python
7 lines
178 B
Python
import os
|
|
import subprocess
|
|
|
|
if os.name == "posix":
|
|
subprocess.run("./packages.sh", check=True)
|
|
if os.name == "nt":
|
|
subprocess.run("packages.bat", check=True, shell=True) |