mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-15 22:02:26 +00:00
- Renamed QComboBox in instance.ui to versionsComboBox for clarity. - Updated fallback version in __init__.py to 0.0.20b7. - Improved docstrings and comments in app.py and other files for better readability. - Added path expansion functionality in app_context.py to handle user python -m pyproject-appimage preferences. - Refactored user preference methods in pref.py to use camelCase for consistency. - Enhanced instance management and downloader logic in instance_manager.py and downloader.py. - Fixed various formatting issues across multiple files for better code style adherence. - Updated the lock file to reflect the new version 0.0.20a7. - Fixed multiples workflows
12 lines
290 B
Python
12 lines
290 B
Python
import os
|
|
import subprocess
|
|
|
|
if os.name == "posix":
|
|
_ = subprocess.run("./scripts/packages.sh", check=True)
|
|
if os.name == "nt":
|
|
_ = subprocess.run(
|
|
["powershell", "-ExecutionPolicy", "Bypass", "-File", "scripts\\packages.ps1"],
|
|
check=True,
|
|
shell=True,
|
|
)
|