mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-15 22:02:26 +00:00
1.7 KiB
1.7 KiB
How to run
VSCode
Note
In Windows you might need to replace
/with\[!WARNING] This method is not recommed nore tested for NixOS, go to the NixOS Section, for the step for this particular OS.
- Create a Python Virtual Env via a tool like UV (if not already done)
- Set VSCode to that Python Virtual Env
- Run "Pyside : Sync Virtual Env and Launch"
- Run the app via Vscode debug mode or directly the
src/lce_qt_launcher/main.pyfile.
NixOS
- load the nix shell with
nix-shellcommand - compiled the ui and ressource file with
scripts/build.sh - load the app with
python src/lce_qt_launcher/main.py
FreeBSD
- Create a virtual Python environment with system access using the command
uv venv --system-site-packages - Synchronize the virtual environment with
uv sync - Activate the virtual environment (replace {.sh} with .sh for bash, .fish for fish, or leave it blank for the POSIX shell) using
source .venv/bin/activate{.sh} - Run the program with the command
python src/lce_qt_launcher/main.py
Using the command line
- Create the venv with uv (
uv sync) - Load the venv with
source .venv/bin/activate.sh(replace .sh with your shell, on Windows it is.venv\Scripts\activate.ps1for powershell or.venv\Scripts\activate.batfor cmd) - Run
scripts/build.sh(for Linux)scripts\build.cmdfor (Windows) - Run the main python script
src/lce_qt_launche.py(On Windows you might need to invoquepython3directly and replace/with\)
AppImage (GNU/Linux only)
chmod +x <appimage_filename>./<appimage_filename>