mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-16 01:30:39 +00:00
update readme and divised them in mutliple files in a news directory names `docs` with two folder for localized versions, added nix flake and removed obseleted scripts
1.3 KiB
1.3 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
#!/usr/bin/env sh
if [ "$1" = "create-venv" ]; then
uv venv --system-site-packages
fi
if [ "$1" = "sync" ]; then
uv sync --system-certs
fi
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\)