Refactor display manager and downloader with improved docstrings and error handling

- Enhanced DisplayManager class with detailed docstrings for displayInfo, displayWarn, and displayError methods.
- Updated downloader.py with clearer docstrings and removed unnecessary exception handling.
- Improved instance_manager.py by clarifying the install_instance method and removing redundant try-except blocks.
- Refined mod_manager.py with better docstrings and marked extraction functions for async implementation.
- Updated steam_manager.py with clearer docstrings for add_instance_to_steam function.
- Cleaned up system_manager.py by removing deprecated methods and unnecessary imports.
- Enhanced app_data.py with clearer docstrings and improved instance loading logic.
- Updated content_installer_dialog.py and launcher.py with clearer variable annotations and removed TODOs.
- Modified settingDialog.ui and system_info.ui to improve UI elements and accessibility.
- Updated version numbers in uv.lock for dependencies and ensured compatibility with the latest packages.
This commit is contained in:
Xgui4 Studio
2026-05-29 01:07:47 -04:00
parent 443d6dfea8
commit 7dcbd0978f
26 changed files with 336 additions and 397 deletions

View File

@@ -1,16 +1,13 @@
[Desktop Entry]
Type=Application
Version=1
Name=LCE QT Launcher
GenericName=Minecraft LCE Launcher
Categories=X-Python;X-Minecraft;Game;X-Utils;Qt
Comment=A custom Minecraft LCE Launcher written with Pytho using PySide6 (Qt6 for Python)
Exec=lce-qt-launcher %f
Icon=io.github.xgui4.lce_qt_launcher.png
Terminal=true
MimeType=application/x-lce_inst
GenericName=Minecraft LCE Launcher
Icon=io.github.xgui4.lce_qt_launcher
Keywords=Minecraft;Games;LCE;Python;Qt;Legacy;Console;Edition
Categories=Python;Minecraft;Game;Utils;Qt
[Desktop Action Generate_Config]
Exec=lce-qt-launcher -g
Name=Generate Config
MimeType=application/x-lce_inst;
Name=LCE QT Launcher
StartupNotify=true
Type=Application
Version=1.5
X-KDE-SubstituteUID=false