Llançador inicial amb GUI PySide6: descàrrega i execució de jocs
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# Compila jlauncher a un binario nativo (C, vía Nuitka).
|
||||
# Requiere: pip install nuitka PySide6
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
python -m nuitka \
|
||||
--standalone \
|
||||
--assume-yes-for-downloads \
|
||||
--enable-plugin=pyside6 \
|
||||
--output-dir=dist \
|
||||
--output-filename=jlauncher \
|
||||
--include-data-files=games.toml=games.toml \
|
||||
jlauncher
|
||||
|
||||
echo
|
||||
echo "Listo. Binario en: dist/jlauncher.dist/jlauncher"
|
||||
echo "games.toml se incluye junto al binario; jlauncher_data/ se creará al lado al ejecutar."
|
||||
Reference in New Issue
Block a user